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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
tdejonghe
New Member

Filter table by comparing columns

Dear all,

 

I'm looking for a way to show a Table visual but filtered by comparing two columns.

 

Short background: We have 2 systems to see which device belongs to which user. I want to be able to filter out those lines where the user ID is different in both systems. I was able to show a count of this by creating a measure with calculate:

Incorrect assignee = 
CALCULATE (
    COUNTROWS ( 'Asset List' ),
    FILTER (
        'Asset List',
        'Asset List'[User ID 1] <> ""
        && 'Asset List'[User ID 2] <> ""
        && 'Asset List'[User ID 1] <> 'Asset List'[User ID 2]
))

This works like a charm to show the count, but I would also like to use this as a filter to show my viewers a table of these devices so they can actually know what to rectify in our systems.

 

Is this something anyone can help me with? I use bookmarks for the more basic filtering but for this one I'm stuck.

 

Kind regards

1 ACCEPTED SOLUTION
barritown
Solution Sage
Solution Sage

Hi @tdejonghe,  

For example, you can create a new calculated column and filter your table by setting a condition that this value must be TRUE.

 

barritown_0-1680769524303.png

 

View solution in original post

2 REPLIES 2
tdejonghe
New Member

Hello @FBarri 

 

This is exactly what I needed! Thank you very much!

barritown
Solution Sage
Solution Sage

Hi @tdejonghe,  

For example, you can create a new calculated column and filter your table by setting a condition that this value must be TRUE.

 

barritown_0-1680769524303.png

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.