The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi all,
I'm trying to caculating YTD through a DAX measure and not gettng the results I expected. My data source is a SharePoint list that has a title for a month, the start date for that month, Period Goal and Period Actual. I want to calculate the YTD Goal and YTD Actuals so I created a measure with this formula for the YTD Actuals: YTDExample = TOTALYTD(SUM('Test'[Period Actual]),'Test'[Date])
When I see this in Power BI as a table, the YTD doesn't seem to calculate the YTD Actuals - it simply just displays the same as Period Actual:
To make matters worse, if I remove the title from the table, it sums it for 2 months - March and October - no clue why:
What I'm expecting to see (when I do this in DAX studio) is:
Any idea what I'm doing wrong? Please help! Thanks in advance!
Solved! Go to Solution.
@HasanRehman You may find this helpful - https://community.powerbi.com/t5/Community-Blog/To-bleep-With-Time-Intelligence/ba-p/1260000
Also, see if my Time Intelligence the Hard Way provides a different way of accomplishing what you are going for.
https://community.powerbi.com/t5/Quick-Measures-Gallery/Time-Intelligence-quot-The-Hard-Way-quot-TIT...
@HasanRehman You may find this helpful - https://community.powerbi.com/t5/Community-Blog/To-bleep-With-Time-Intelligence/ba-p/1260000
Also, see if my Time Intelligence the Hard Way provides a different way of accomplishing what you are going for.
https://community.powerbi.com/t5/Quick-Measures-Gallery/Time-Intelligence-quot-The-Hard-Way-quot-TIT...
Thanks a lot, that's a whole lot of info. I'll review and let you know if this fixed my issue.
Edit -- that was it!!! I just need to watch the video to understand why, but thank you so much! 🙂
User | Count |
---|---|
10 | |
9 | |
6 | |
6 | |
5 |
User | Count |
---|---|
22 | |
14 | |
14 | |
9 | |
7 |