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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Solution Sage
Solution Sage

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors