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
AlanP514
Post Patron
Post Patron

Return unique column text values

AlanP514_1-1646931029233.png

Need help , which Dax will help to fetch the unique name from name column and condition Should be Certification level should be 1

AlanP514_2-1646931106107.png

The above Attached file is i applied it is returning error 
please help me

 

1 ACCEPTED SOLUTION
v-xiaotang
Community Support
Community Support

Hi @AlanP514 

Try this dax expression, it will return a table with unique name where level="1 Star".

Table_unique_name = CALCULATETABLE(DISTINCT('Table'[Name]),FILTER('Table','Table'[Level]="1 Star"))

vxiaotang_0-1647314123696.png

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-xiaotang
Community Support
Community Support

Hi @AlanP514 

Try this dax expression, it will return a table with unique name where level="1 Star".

Table_unique_name = CALCULATETABLE(DISTINCT('Table'[Name]),FILTER('Table','Table'[Level]="1 Star"))

vxiaotang_0-1647314123696.png

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

truptis
Community Champion
Community Champion

Hi @AlanP514 ,
Try this:
Result_Col = calculate(distinct(name), filter(tablename,certificate="1 star")

If the solution helps, then please mark it has a solution. Thanks.

Regards,

TruptiS

That will not 

YukiK
Impactful Individual
Impactful Individual

You should be get the result with DAX like the following:

Your Measure = 

CALCULATETABLE(
    VALUES(CertificationName),
    YourColumn in { "YourValue" }
)

 

Note, this will return a table.


Hope this helps!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

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

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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