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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi all
How can I have a dynamic measure that sums month's results based on date you select.
Let me do an example:
If you choose March 2020, the measure should sum January result + February result + March result
If you chosse June 2020,
the measure should sum January result + February result + March result + April result + May result + June result
I have done it like this but it's not an elegant way because it's fixed:
How can I get this in one single measure as you select the month on the date slicer
Pbix https://1drv.ms/u/s!ApgeWwGTKtFdhzn31uwUJsSK0da4?e=NsXu7e
Thanks!
Hello, @o59393, you may want to try
KPI YTD = SUMX ( DATESYTD ( Sheet1[Reporting period] ), [Crash Rate] )
| Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 93 | |
| 81 | |
| 73 | |
| 46 | |
| 35 |