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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
AlanP514
Helper V
Helper V

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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