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

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

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.