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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
vinod57901
Regular Visitor

Unable to Concatenate with unique values

Hi 

I have written the IF condition and values are coming with duplicate record then on top that I have one more column for Concatenate (comma) seperated but it showing multiple repeated values but it suppose to show unique values.

 

Expecting result should be like Col Name: Values(A1, A2, A3..) without repeating again same value. 

Ex: 

Dax Function I have written

Concatenated Bu Org Final =
CONCATENATEX(
   DISTINCT( FILTER(Opportunities, Opportunities[Vertical Market] = SELECTEDVALUE(Opportunities[Vertical Market]))),
    Opportunities[Bu Org Final],  //Bu Org Final column I have writtent the Nested IF condition.
    "; "
) 

vinod57901_0-1694776501914.png

 

Thanks

1 ACCEPTED SOLUTION
v-yiruan-msft
Community Support
Community Support

Hi @vinod57901 ,

You can update the formula of measure [Concatenated Bu Org Final] as below:

Concatenated Bu Org Final = 
CONCATENATEX (
    GROUPBY (
        'Opportunities',
        'Opportunities'[Vertical Market],
        Opportunities[Bu Org Final]
    ),
    Opportunities[Bu Org Final],
    "; "
)

vyiruanmsft_0-1695018086617.png

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yiruan-msft
Community Support
Community Support

Hi @vinod57901 ,

You can update the formula of measure [Concatenated Bu Org Final] as below:

Concatenated Bu Org Final = 
CONCATENATEX (
    GROUPBY (
        'Opportunities',
        'Opportunities'[Vertical Market],
        Opportunities[Bu Org Final]
    ),
    Opportunities[Bu Org Final],
    "; "
)

vyiruanmsft_0-1695018086617.png

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for your help.. Its near about the solution ...!!

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors