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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Calculated Expression in Pivot table

Hi, guys!

I have a pivot as follows with the expression:IF(min(Month_name)>=(vCurMonth),Sum(Sal*Bench_Data),Sum({<Y={'2015'}>}Fact_bench))-Sum(Budget)

     

QuarterQ1Q2Q3Q4
BG_benchRestRest of Budget 2015, USDBench 2015 vs Budget 2015, %Rest of Budget 2015, USDRest of Budget 2015, USD
BG1-61640-33,992-82%-95,706-146,370
BG202,1840%1,3441,512
BG3110,2960%6,3367,128
BG425,6160%3,4563,888
BG538,4240%5,1845,832
BG640-00
BG755,6160%3,4563,888
BG862,4960%1,5361,728
Total 640-1%-74,394-122,394

I want ot create a calculated dimesion with the rest of budget for the year: Aggr(IF(min(Month_name)>=(vCurMonth),Sum(Sal*Bench_Data),Sum({<Y={'2015'}>}Fact_bench))-Sum(Budget),BG_bench)

But it doesnt work properly.

Any ideas?

3 Replies
Not applicable
Author

Guys, any ideas?

pokassov
Specialist
Specialist

Hi!

Can you attach example?

Not applicable
Author

Hi!

Nope, it doesnt give me the desired result