Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
coricosav
Contributor
Contributor

CAMPO CALCULADO EN PIVOT TABLE

Hi,

 

I have a pivot table and I need to include one calculated field with the next fx

%TTR= ('SAME DAY'+'D+1')/('SAME DAY'+'D+1'+'D+N')

 

qlik.PNG

Labels (1)
2 Replies
Anil_Babu_Samineni
MVP
MVP

Question not clear, Perhaps you want to aggregate with One field

Sum(Aggr(('SAME DAY'+'D+1')/('SAME DAY'+'D+1'+'D+N'), Field))

I feel, Above mentioned are dimension else please explain.

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
coricosav
Contributor
Contributor
Author

Hi,

The dimension is TTR, this column has 3 options type text: 'Same Day', 'D+1' and 'D+N'.

For the calculation field  my master table has 1 column with the number 1 and I apply the fx sum( field) with  others dimensions for example v_rep

I need a new column TTR%:

Example:

Q 2.PNG