Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi,
I have the following measure where it returns the diserable result:
LYTD asOf Today = CALCULATE([TOTAL REVENUE], DATEADD('Calendar'[Date], -1, YEAR), 'Calendar'[Date] <= TODAY()-335)
How can i make the last part (<= TODAY()-335) automatic?
The effect that i would like is to aytomatically find today's date for last year without subtracting the number of days manually.
Thank you
Solved! Go to Solution.
Hi @asl10,
Please check the link below, this should help you to get the desired result.
http://community.powerbi.com/t5/DAX-Commands-and-Tips/DAX-YTD-and-PYTD-questions/m-p/116583#M200
Thanks,
SSingh
Hi @asl10,
Please check the link below, this should help you to get the desired result.
http://community.powerbi.com/t5/DAX-Commands-and-Tips/DAX-YTD-and-PYTD-questions/m-p/116583#M200
Thanks,
SSingh
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
27 | |
15 | |
11 | |
8 | |
8 |
User | Count |
---|---|
19 | |
15 | |
15 | |
14 | |
13 |