Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi, Qlikview profis.
I have a tricky problem here. I have a pivot with the following expression:IF(min(Month_name)>=(vCurMonth),Sum(Sal*Bench_Data*Forecast),Sum({<Y={'2015'}>}Fact_bench)) . I need the total of it, but the problem is that total isnt calculated properly. I try to create a calculated dimension but at the end I get the same problem.
Here is my sample attached. Please help!
Hi Diana, try with this expression:
Sum(Aggr(IF(min(Month(Month_Date))>=($(vCurMonth)),Sum(Sal*Bench_Data*Forecast),Sum({<Y={'2015'}>}Fact_bench)), Month_Date, BG_bench))
And also change vCurMonth to:
=Num(Month(Today()))
Hi Diana, try with this expression:
Sum(Aggr(IF(min(Month(Month_Date))>=($(vCurMonth)),Sum(Sal*Bench_Data*Forecast),Sum({<Y={'2015'}>}Fact_bench)), Month_Date, BG_bench))
And also change vCurMonth to:
=Num(Month(Today()))
HI!
Great, thanks!