Forum Discussion
Rolling window
- 6 years ago
hi Anonymous
Try these two way as below:
1. set datatype of Cash Flow to Fixed decimal number
2. Use a dim date table and create relationship with the fact table,
Now use dim date table in the visual and measure as below
Cumalative Cash Flow = CALCULATE( sum(Output_SSIS[Cash Flow]),filter(ALLSELECTED(Date),Date[Financial Year]<=Max(Date[Financial Year])))
If you still have the problem, please share your sample pbix file for us have a test.
Regards,
Lin
Have added another screenshot in the original post which shows the difference more clearly in Power BI
hi Anonymous
Try these two way as below:
1. set datatype of Cash Flow to Fixed decimal number
2. Use a dim date table and create relationship with the fact table,
Now use dim date table in the visual and measure as below
Cumalative Cash Flow = CALCULATE( sum(Output_SSIS[Cash Flow]),filter(ALLSELECTED(Date),Date[Financial Year]<=Max(Date[Financial Year])))
If you still have the problem, please share your sample pbix file for us have a test.
Regards,
Lin
- Anonymous6 years agoNot applicable
Thanks v-lili6-msft
I have not tested your solution, but I have found the answer to my problem here:
Those two formulas gave me correct answers.
Thanks for your consideration.