Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Jan845
Helper I
Helper I

Relative date filter and line chart

 

I have line graphs, they filter with the dopdown filter but with the relative date filter it filters but shows the months it shouldn't show.

For example, I select the last 2 months and it shows everything and should only show the 2.

How can I solve this bug?

 

Jan845_1-1710254347335.png

 

My PBIX file: https://stealth.cyborg.co/r#0sft8VMnmcdEEcfopkLER2XiQIt5ZbICKVUoLV68UlU

 

Thanks for help guys.

 

1 ACCEPTED SOLUTION
PijushRoy
Super User
Super User

Hi @Jan845 

Please remove +0 from measure and check, it will overwrite the filter context

PijushRoy_0-1710256255096.png

 


Let me know if that works for you


If your requirement is solved, please mark THIS ANSWER as SOLUTION ✔️ and help other users find the solution quickly. Please hit the Thumbs Up 👍 button if this comment helps you.

Thanks
Pijush
Linkedin

View solution in original post

2 REPLIES 2
PijushRoy
Super User
Super User

Hi @Jan845 

Please remove +0 from measure and check, it will overwrite the filter context

PijushRoy_0-1710256255096.png

 


Let me know if that works for you


If your requirement is solved, please mark THIS ANSWER as SOLUTION ✔️ and help other users find the solution quickly. Please hit the Thumbs Up 👍 button if this comment helps you.

Thanks
Pijush
Linkedin

It works thanks a lot @PijushRoy 

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.