Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
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:
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 _ Rongtie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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.
Have you considered using the Quick Measures? There the pattern is called "Running Total"
I tried with Quick Measure but it does not work. Please let me know if you have another idea.
Thanks
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-...
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/1447...
For your information, sales table:Table
Date | Sales |
01-Jan-2024 | 10 |
01-Feb-2024 | 15 |
01-Mar-2024 | 20 |
01-Apr-2024 | 25 |
01-May-2024 | 30 |
and calendar table: CALENDARAUTO(12)
the measure , I am using:
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
Check out the May 2024 Power BI update to learn about new features.
User | Count |
---|---|
89 | |
80 | |
60 | |
60 | |
58 |
User | Count |
---|---|
155 | |
119 | |
104 | |
78 | |
71 |