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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

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 @Anonymous,  

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
Anonymous
Not applicable

Hello @FBarri 

 

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

barritown
Solution Sage
Solution Sage

Hi @Anonymous,  

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
Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.