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
lawadaa
Helper I
Helper I

create a measur with a filter ignoring filter on the page level

i have created a measure that calculates a oercentage with a filter. i have the same filter in my table visual but i want to ignore the filter that is in the visual and apply the filter in the measure.

 

example:

accessories achievement = calculate(achievement * .1 , category[type]= accessories, all(category[type))

 

my table visual should show the below

categorytypecore achievement accessories achievement
gross aadcore948
renewalcore907

 

 note: there's a filter on page level for the column type=core. i want to show accessories achievemnet with type= accessories ignoring this page level filter= core.

 

currently with the measure i created above, accessories achievement is showing blank.

3 REPLIES 3
tamerj1
Super User
Super User

Hi @lawadaa 
Assuming "Accessories" type do exist in the specified categories, please try 

Accessories Achievement =
CALCULATE (
    [Achievement] * 0.1,
    ALL ( Category ),
    VALUES ( Category[Category] ),
    Category[type] = "Accessories"
)

 

ChiragGarg2512
Super User
Super User

Interactions can be edited between the filter that is in the visual and the measure table.

 

the filter is in the filter pane and not in the page. interaction cant be applied as the filter is on the same column it's just that i want to filter the value in the column

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.

Top Solution Authors