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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
tiffanyt123
Helper I
Helper I

PowerBI DAX filter

Hi there,

 

I have the following matrix table on powerBI - columns marked with "1" and "2" come from their source data respectively. Issue now is that I want to filter the table to when rows in match each other, i.e when columns 1 and 2 are both Essential Health etc

 

tiffanyt123_0-1652953542092.png

Is there a way to create a DAX formula to filter?

1 REPLY 1
selimovd
Super User
Super User

Hey @tiffanyt123 ,

 

I don't really know what you want to do.

You can create a measure like that:

Is Franchise the same =
IF (
    MAX ( 'Table 1'[Franchise] ) = MAX ( 'Table 2'[Franchise] ),
    "They are the same",
    "They are not the same"
)

 

Then you could filter the visual for the measure. Check this article about filtering visuals by a measure (middle of the article, filter by measure):

Automatically filter report on actual date with calculated column and with measure - What the fact.b... 

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍

Best regards
Denis

Blog: WhatTheFact.bi
Follow me: twitter.com/DenSelimovic

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.