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.
Hello,
I have a line chart which is using a measure
It is currently filtered for the last 12 months using the filter pane
However with this way i noticed it doing this filter based on todays date - not the Maximum date in the dataset which is September 2022.
I want to create a measure that shows the last 12 months of a measure from the Maxiumum date in the dataset - not sure how to do this.
Could anyone help?
This is my visual - See as it drops off to zero for a month where there is no data inputted yet
This is how it is currently filtered - but includes the current month,
Hi @ggargan ,
Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it. Or if you are still confused about it, please provide me with more details about your table and your problem or share me with your pbix file after removing sensitive data.
Refer to:
How to provide sample data in the Power BI Forum
How to Get Your Question Answered Quickly
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
just uncheck "include today"
Hello, i tried that it does not work. It is also not a option for calendar months
Hi,
One of ways to solve this is to use DATESINPERIOD dax function with CALCULATE dax function in your measure.
https://dax.guide/datesinperiod/
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Hello, i tried this but the result was not as expected
Original Chart
Using the calculate and Dates in period functions
This was my DAX
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 |
---|---|
115 | |
100 | |
88 | |
69 | |
61 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |