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,
How can I avoid having Sales YTD figures appearing for future months?
I will like that YTD finishes in the last day of reported sales.
Date of Sales finishes in Jan, but calendarauto month continues until fiscal year end, on May. So YTD sales appear constant until May (incorrect).
For YTD Sales I used the following formula: "YTD Sales = TOTALYTD('Sales'[SalesS],DimDate[Date],all(DimDate[Date]), "5/31")"
Please advise,
Solved! Go to Solution.
Hi @Aleph18,
One workaround is to display zero for future months.
YTD Sales = IF([SalesS]=0,0,TOTALYTD(Sales[SalesS],DimDate[Date],all(DimDate[Date]), "5/31"))
Best regards,
Yuliana Gu
Hi Yuliana,
Thank you for your message. It is not working unfortunately. The graph should stop in Jan. Applying the proposed formula gave me the following:
Kind regards,
Aleph18
I got the answer, found the answer on an older query:
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 |
---|---|
110 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
93 | |
84 | |
66 |