cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
topazz11
Helper II
Helper II

Measure changed with filter

I created rolling average using the quick measure.

it looks ok but when i filter the visual, the value is changed.

ex) it was 99 for Jan 2022 before filter but changed to 183 after adding a filter in the filter pane.

 

I am expecting to see same 99 after the date filter. Tried to use ALLSELECTED in the DAX but doesn't work.

I cannot figure out how to keep the same value even after the filter..

Thanks for your help.

 

pbix file 

 

Q1.png

1 REPLY 1
lbendlin
Super User
Super User

What filter are you adding?  Let's say your filter removes January.  What would you expect the number to be in that case?

 

Remember that calculated columns are not impacted by filters.

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.