Forum Discussion
Commulative with Month Slicer
Dear Helper,
i have two tables Calendar and Sales, i need to get sales amount Commulative and want display on Column chart.
Calendar table:
and Sales table:
Measures i wrote:
6 Replies
- lbendlinSuper User
Have you considered using the Quick Measures? There the pattern is called "Running Total"
- Jyaul1122Helper III
I tried with Quick Measure but it does not work. Please let me know if you have another idea.
Thanks
- lbendlinSuper User
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information or anything not related to the issue or question.
If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216
Please show the expected outcome based on the sample data you provided.
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523
- AnonymousNot applicable
Hi lbendlin ,
Thanks for your quick response.
Hi Jyaul1122 ,
Please refer to my pbix file to see if it helps you.
Create a measure.
MeasureSales = VAR _1 = CALCULATE ( SUM ( 'Table'[Sales] ), FILTER ( ALL ( 'Table' ), 'Table'[Date] <= SELECTEDVALUE ( 'Calendar'[Date] ) && 'Table'[Date] <= SELECTEDVALUE ( 'Table'[Date] ) ) ) VAR _2 = SELECTEDVALUE ( 'Calendar'[Date] ) RETURN IF ( _2 >= MAX ( 'Table'[Date] ), _1, BLANK () )How to Get Your Question Answered Quickly - Microsoft Fabric Community
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ RongtieIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Jyaul1122Helper III
Anonymous
Thanks for your effort and help. You are using Table[Date],Table[Sales],MeasureSales in table visual.
Actually in my PBIX those type of visual using data from multiple table related with Calendar table. So that i would like have visual with data: Calendar[Date],Table[Sales],MeasureSales.
Hope understand my requirements.
Thanks.