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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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