Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
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! 🙂
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
12 | |
10 | |
10 | |
10 |
User | Count |
---|---|
17 | |
14 | |
12 | |
11 | |
10 |