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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Orstenpowers
Post Patron
Post Patron

Remove lines with identical information in two different columns

Hopefully someone can help me with the following problem.

 

I did create a visualization (just a table) that also contains following columns

SalesOffices with Sales office country
IObOL new (incl K Group) with Country (Final ship to)

Now I would like to integrate a formula/ filter or whatsoever that filters all lines with identical countries for Sales office country and Country (Final ship to).

 

As an example, please see the screenshot. My idea is that only the highlighted ones should remain.

PBI_SalesOffice.JPG

Is this possible? And how? I do not have any idea…

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Use following measure:

Measure= IF(SELECTEDVALUE('Table'[Column1])=SELECTEDVALUE('Table'[Column2]),1,0)

 

And use this measure into visual level filter and set this measure's value 0.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Use following measure:

Measure= IF(SELECTEDVALUE('Table'[Column1])=SELECTEDVALUE('Table'[Column2]),1,0)

 

And use this measure into visual level filter and set this measure's value 0.

Thank you, it worked perfectly. 

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.