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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Lowspin
New Member

How to filter for unique values

Hi everyone! 

 

I have a data set that looks like this: 

 

Name

Method

Test1Low
Test2Low
Test3High
Test1High

 

I would like to filter the powerbi visual to only have names show up that are unique and of my method of choosing. There are 3 cases for my data set. 1) Test1 has a high and low method and should be filtered out. 2) Test2 is only found in the low method.  And 3) Test3 is only found in the high method. 

 

I would like to have a matrix graph in PowerBI that will only display the Test3 - only appears in the high method set. Thank you in advance!

1 ACCEPTED SOLUTION
Lowspin
New Member

I was able to figure out the solution! 

 

I just had to make a calculated column with the following equation:

Exists in Low  =
var _low = SELECTCOLUMNS(filter(Table, 'Table'[Method] = "Low"), "Name", [Name])
return
IF( 'Table'[Name] in _low, "Not Unique", "Unique")
 
This returned a column that listed whether each Named entry was included in the low method. I filtered the page on method = high and exists in low = unique. This gave me what I was looking for, unique values that were not contained in the low method and just the high method.

View solution in original post

3 REPLIES 3
Lowspin
New Member

I was able to figure out the solution! 

 

I just had to make a calculated column with the following equation:

Exists in Low  =
var _low = SELECTCOLUMNS(filter(Table, 'Table'[Method] = "Low"), "Name", [Name])
return
IF( 'Table'[Name] in _low, "Not Unique", "Unique")
 
This returned a column that listed whether each Named entry was included in the low method. I filtered the page on method = high and exists in low = unique. This gave me what I was looking for, unique values that were not contained in the low method and just the high method.
parry2k
Super User
Super User

@Lowspin is this what you are looking for?

 

2022-08-19_14-51-13.gif

 

Follow us on LinkedIn and YouTube.gif to our YouTube channel

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

No the slicer doesn't fix my problem. Because it doesn't fix my first condition (Values that have a high and low value for method are not excluded). 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.