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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi all,
I need help with creating a measure which will give me the YTD value without a date column.
I have a measure which calculates the budget per category
Solved! Go to Solution.
You can create a separate distinct table to use the period as the slicer, then create a measure to get expected value.
You can create a separate distinct table to use the period as the slicer, then create a measure to get expected value.
Can you please share some sample data for your requirement along with desired results?
Proud to be a Super User!
Hi @FarhanAhmed
I am hoping this makes sense.
In yellow is what i expect. It should give me the YTD total per category when i select a account period from a slicer. E.g if i select account period 4, the total for consultancy is 600 and for IT costs is 120000.
Try something like this.
_YTD = CALCULATE(SUM('YTD'[Budget]),FILTER(ALLEXCEPT('YTD','YTD'[Category]),'YTD'[PeriodID]<=MAX('YTD'[PeriodID])))
Proud to be a Super User!
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 |
|---|---|
| 58 | |
| 45 | |
| 41 | |
| 21 | |
| 18 |