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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Anonymous
Not applicable

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 @Anonymous ,

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 @Anonymous ,

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.
Anonymous
Not applicable

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

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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