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 Guys,
I am working in a report based in periods where the fisrt period goes from 31-12-2017 to 27-01- 2018, but when I want to get the YTD sales with the formula TOTALYTD the 31-12-2017 is out of the result.
How can I calculate the YTD including the last day of the year 2017 and not including the last 2 days of Dicember of 2018.
Thank you!!
Juan Ignacio
Solved! Go to Solution.
Hi juanahumada,
You can use DAX like this pattern instead.
YTD = CALCULATE ( aggregation, FILTER ( table, table[date] > date1 && table[date] < date2 ) )
Regards,
Jimmy Tao
Hi juanahumada,
You can use DAX like this pattern instead.
YTD = CALCULATE ( aggregation, FILTER ( table, table[date] > date1 && table[date] < date2 ) )
Regards,
Jimmy Tao
thank you!!!
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 | |
94 | |
82 | |
66 | |
58 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |