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 problems with the visualization of mobile years in a timeline, so I think there should be a graphic or official Microsoft slicer able to visualize MAT (Moving Annual Total), that is to say, that does not show all the year, only the last 12 months: from June 2017 to June 2018, without needing to see from January to May of 2017.
Or will there be a way to show the mobile years?
Solved! Go to Solution.
Hi @FaustoMoya,
You can create a calculated to decide whether the date is in the last 12 months:
Last12Months = IF(DATEDIFF('Table'[Date],MAX('Table'[Date]),MONTH)<12,"last 12 months","")
Then drag this new column to the visual/Page level filter pane, select the value "last 12 months", the visual will only show data in last 12 months.
You can refer to this similar blog: https://blogs.msdn.microsoft.com/lukaszp/2015/08/08/finding-the-latest-date-in-power-bi-desktop/
Best Regards,
Qiuyun Yu
Hi @FaustoMoya,
You can create a calculated to decide whether the date is in the last 12 months:
Last12Months = IF(DATEDIFF('Table'[Date],MAX('Table'[Date]),MONTH)<12,"last 12 months","")
Then drag this new column to the visual/Page level filter pane, select the value "last 12 months", the visual will only show data in last 12 months.
You can refer to this similar blog: https://blogs.msdn.microsoft.com/lukaszp/2015/08/08/finding-the-latest-date-in-power-bi-desktop/
Best Regards,
Qiuyun Yu
Hi Qiuyun Yu, it was the solution
I was stuck trying to create it in new measure, when I later realized that it was by new column.
Thanks a lot
Fausto Moya
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 |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |