-
Re: Show all dimensions value at any time with calendar
Sunny Talwar Sep 20, 2017 9:41 AM (in response to Xavier HEMELAAR )Try by adding this to your expression
Count(if(DateType='Forecast', DS_Number)) + Avg({1} 0)
-
CALENDAR TEST.qvf 288.0 K
-
Re: Show all dimensions value at any time with calendar
Xavier HEMELAAR Sep 20, 2017 10:31 AM (in response to Sunny Talwar )Hi Sunny,
Your solution worked perfect for a normal count as I showed in my initial exemple. But then I whanted to apply this same technique to accumalation.
Test 1: rangesum( above( Count({$<DateType={'Target'}>} DS_Number),0,rowno()))+ Avg({1} 0)
This also worked perfectly when I added a "if" condition:
Test 2: IF(CanonicalWeek <= 38,rangesum( above( Count({$<DateType={'Target'}>} DS_Number),0,rowno()))+ Avg({1} 0))
Result:
But then if a set filter WP=CWB I have some gaps in my chart for measure that has the "IF" condition:
I tried a few things but nothing helped... I changed QVF in original post to show this new case.
-
CALENDAR TEST.qvf 288.0 K
-
Re: Show all dimensions value at any time with calendar
Sunny Talwar Sep 20, 2017 10:32 AM (in response to Xavier HEMELAAR )May be try this
If(Only({1} CanonicalWeek) <= 38, RangeSum(Above(Count({$<DateType={'Target'}>} DS_Number), 0, RowNo())) + Avg({1} 0))
-
Re: Show all dimensions value at any time with calendar
Xavier HEMELAAR Sep 20, 2017 10:43 AM (in response to Sunny Talwar )Perfect it solved my problem. I don't understand why but I will keep this syntaxe in my little "help list"
-
-
-