Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have a calendar showing the last day of each month from Jan 2015 to Dec 2027 ('Calendar'[Dates])
I have an actual cost table with dates ('Actual Costs'[Date]) - also last day of each month -
1. from Feb 2021 Measure = CALCULATE(FIRSTDATE('Cost Graphs'[Date]),('Cost Graphs'[Cost Actual]>0))
2. to July 2023 - Measure = CALCULATE(LASTDATE('Cost Graphs'[Date]),('Cost Graphs'[Cost Actual]>0))
I want a graph with 'Calendar'[Dates] as my x-axis giving the cumulative of 'Cost Graphs'[Value] - Measure = sum('Cost Graphs'[Cost Actual]) - but only between the First Date and Last Date - otherwise it must be blank.
So I am trying to follow online, but am confused about which "date" goes where. This is where I am at but it is soooo not working:
@LisaBureau First, I would clean up the logic using SWITCH(TRUE(), ...) instead of nexted if statements. Second, have a look at this article on running totals and the associated video. Third, posting sample data and expected output would be extremely helpful.
Better Running Total - Microsoft Fabric Community
I need it to graph only between my First and Last date - I think it is the "filter" portion I'm not getting. How do I filter my Calendar dates to only be between my First and Last on my x-axis, is really my question?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
108 | |
106 | |
87 | |
75 | |
66 |
User | Count |
---|---|
125 | |
114 | |
98 | |
81 | |
73 |