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

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

Reply
gauravnarchal
Post Prodigy
Post Prodigy

Filter unique values from the table

I wanted to create a measure to filter only the unique values from the below table as there are repeated information in the table.

 

As an example result should only show Product WW & Mark Y only once.

 

ProductMark
WWY
WWY
WWO
WWO
KKY
KKY
KKY
KKY
KKW
WWE
WWE
TTR
TTR
TTR
TTR
PPM
PPM
PPN
2 ACCEPTED SOLUTIONS
Greg_Deckler
Community Champion
Community Champion

@gauravnarchal - Use 

Measure = CONCATENATEX(DISTINCT(SELECTCOLUMNS('Table',"Product",[Product])),[Product],",")


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

@gauravnarchal It's the default or are you trying to create a new table? Both are set to Don't summarize.

Greg_Deckler_0-1599755468789.png

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

@gauravnarchal , if you put them in table visual they will show as distinct values only

measure like

measure =countx(summarize(Table,Table[Product],Table[Mark]),[Mark])

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Greg_Deckler
Community Champion
Community Champion

@gauravnarchal - Use 

Measure = CONCATENATEX(DISTINCT(SELECTCOLUMNS('Table',"Product",[Product])),[Product],",")


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Hi @Greg_Deckler  -  I am getting the results as below.

 

Only thing is that all products are showing together which has the same mark.

gauravnarchal_0-1599747849540.png

I need to show the result as Individually. The measure which i used is 

Unique = CONCATENATEX(DISTINCT(SELECTCOLUMNS('Database',"Product",[Product])),[Product],",")

 

gauravnarchal_1-1599748139618.png

 

@gauravnarchal It's the default or are you trying to create a new table? Both are set to Don't summarize.

Greg_Deckler_0-1599755468789.png

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

Top Solution Authors
Top Kudoed Authors