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
shaunguyver
Helper III
Helper III

Measure not affected by report level filter

I have a line chart with a working X-Axis (date), Y-Axis (£), and value (cost in £).

 

This line chart sits on a dashboard with three slicers:

 

  • Country
  • City
  • Property

 

I want to create a measure to sit as a value inside this line chart (average cost of property in £), which is only affected by the 'Country' slicer when selected, and not by the 'City' or 'Property' slicer. Is this possible?

 

I can upload my Power BI file if required. Thanks!

1 ACCEPTED SOLUTION
v-yulgu-msft
Employee
Employee

Hi @shaunguyver,

 

You can create a measure similar to:

Measure =
CALCULATE (
    AVERAGE ( Table[value] ),
    ALL ( Table[Country] ),
    ALL ( Table[City] )
)

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yulgu-msft
Employee
Employee

Hi @shaunguyver,

 

You can create a measure similar to:

Measure =
CALCULATE (
    AVERAGE ( Table[value] ),
    ALL ( Table[Country] ),
    ALL ( Table[City] )
)

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.