Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
47 | |
24 | |
20 | |
15 | |
13 |
User | Count |
---|---|
55 | |
48 | |
43 | |
19 | |
19 |