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.
Hello:
I have a table with a monthly data for 2024 and 2025. I need to calculate the accumulated value for the total period 2024-2025,
I'm currently calculating it like this:
These would be the tabulated data...
@Syndicate_Admin just add filter for years like this:
Hi,
Write this measure
Measure = calculate([EAC],datesbetween(calendar[date],minx(all(calendar]),calendar[date]),max(calendar[date])))
Hope this helps.
I couldn't create the variable...
Hi,
You are missing the closing bracket of the ALL function. It should be
Measure = CALCULATE([EAC],DATESBETWEEN('Calendar'[Date],MINX(ALL('Calendar'),'Calendar'[Date]),MAX('Calendar'[Date])))
Hello:
With the setting you tell me it works fine, the issue is that I need you to take the information from the year 2024 onwards. The EAC variable has data from previous years that I don't require, so I was making this adjustment to the code but it didn't work =(
This one should work
Medida_acumulada = CALCULATE([EAC],DATESBETWEEN('Calendar'[Date],DATE(2024,01,01),max('Calendar'[Date])))
@Syndicate_Admin try using this formula approach:
Hello:
Thanks for the info, this code works but I need to be able to filter the data only for the year 2024 and 2025. The database has information since 2020.
I think that's maybe why totals don't matter
User | Count |
---|---|
83 | |
78 | |
62 | |
61 | |
49 |
User | Count |
---|---|
109 | |
95 | |
86 | |
79 | |
61 |