This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
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/
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
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 30 | |
| 23 | |
| 23 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 63 | |
| 38 | |
| 25 | |
| 23 | |
| 22 |