Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi Friends,
I have data values in my data table from dates starting from OCT 14- Latest date. I am looking to create a measure to calculate Running totals for the values starting from Oct 15 - Latest date (excluding the year 2014) with out using any date slicers. How would I be able to do that?
Date column structure:Kindly, help!!!!
Thank you.
Solved! Go to Solution.
You can try this one:
I'm assuming that the column [UsageDate] is in your FACT table, and relates to the [Date] column in your CALENDAR table. Please note that time intelligence like this will require a calendar table. There is lots of good documentation on building a good calendar table. Try looking here, Matt Alington has made a nice table and posted it on PowerPivotPro.
[Running Total Measure] := CALCULATE ( [Base Measure], //likely summing up a certain column FILTER ( ALL ( CalendarTable ), CalendarTable[Date] >= DATE ( 2015, 1, 1 ) //Currently hardcoded to 1/1/2015, but this could be made dynamic later && CalendarTable[Date] <= MAX ( CalendarTable[Date] ) ) )
Also look at PowerPivotPro's articles on the Greatest Formula In The World...GFITW. This measure is based on that pattern.
Cheers,
~ Chris H
You can try this one:
I'm assuming that the column [UsageDate] is in your FACT table, and relates to the [Date] column in your CALENDAR table. Please note that time intelligence like this will require a calendar table. There is lots of good documentation on building a good calendar table. Try looking here, Matt Alington has made a nice table and posted it on PowerPivotPro.
[Running Total Measure] := CALCULATE ( [Base Measure], //likely summing up a certain column FILTER ( ALL ( CalendarTable ), CalendarTable[Date] >= DATE ( 2015, 1, 1 ) //Currently hardcoded to 1/1/2015, but this could be made dynamic later && CalendarTable[Date] <= MAX ( CalendarTable[Date] ) ) )
Also look at PowerPivotPro's articles on the Greatest Formula In The World...GFITW. This measure is based on that pattern.
Cheers,
~ Chris H
User | Count |
---|---|
98 | |
76 | |
76 | |
48 | |
26 |