Forum Discussion
Issue with filter function in rolling month formula
- 5 years ago
Hi Anonymous ,
I think you need to create two new measures and add them to the visual.
Total Actuals rolling period = IF( ISFILTERED('F Total Actuals'[Eco. Per. in date]), [Actuals rolling period], SUMX(ALLSELECTED('F Total Actuals'[Eco. Per. in date]),[Actuals rolling period]) )Total Accruals >30D = IF( ISFILTERED('F Total Actuals'[Eco. Per. in date]), [Accruals >30D], SUMX(ALLSELECTED('F Total Actuals'[Eco. Per. in date]),[Accruals >30D]) )
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.Best Regards,
WinnizIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-kkf-msft Hi Winniz,
Thanks alot, this looks like the solution!
The only thing I have now with this formula is that it looks like the values aren't in a number format (I won't get totals).
I also tried to change the format to decimal/ whole number, but I still don't get the Totals in the table like bellow
Any Idea how I could solve this?
Thanks alot!
BR,
Ramon
Hi Anonymous ,
I think you need to create two new measures and add them to the visual.
Total Actuals rolling period =
IF(
ISFILTERED('F Total Actuals'[Eco. Per. in date]),
[Actuals rolling period],
SUMX(ALLSELECTED('F Total Actuals'[Eco. Per. in date]),[Actuals rolling period])
)Total Accruals >30D =
IF(
ISFILTERED('F Total Actuals'[Eco. Per. in date]),
[Accruals >30D],
SUMX(ALLSELECTED('F Total Actuals'[Eco. Per. in date]),[Accruals >30D])
)
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Anonymous5 years agoNot applicable