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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
meschoudhary
Frequent Visitor

Concatenate only unique strings in measure

I'm struggeling with a measure. I have data table as shown below with Country, 6 years data (2019-2024) & 5 differeten wind coloums. What is want is show concatenated unique wind values for each country. as show in the output table below.

 

Data Table

Country        Year      Wind 1       Wind 2           Wind 3       Wind 4        Wind 5

Russia2019A(0.16)C(0.12)C(0.12)C(0.12)B(0.14)
Russia2020A(0.16)A(0.16)A(0.16)B(0.14)B(0.14)
Russia2021A(0.16)A(0.16)A(0.16)B(0.14)B(0.14)
Russia2022A(0.16)A(0.16)A(0.16)B(0.14)B(0.14)
Russia2023A(0.16)A(0.16)A(0.16)B(0.14)B(0.14)
Russia2024A(0.16)A(0.16)A(0.16)B(0.14)B(0.14)
Turkey2019A(0.16)A(0.16)A(0.16)B(0.14)B(0.14)
Turkey2020A(0.16)A(0.16)A(0.16)B(0.14)B(0.14)
Turkey2021A(0.16)A(0.16)A(0.16)B(0.14)B(0.14)
Turkey2022A(0.16)A(0.16)A(0.16)B(0.14)B(0.14)
Turkey2023A(0.16)A(0.16)A(0.16)B(0.14)B(0.14)
Turkey2024A(0.16)A(0.16)A(0.16)B(0.14)B(0.14)

 

 

Output -

 

 RussiaTurkey
Wind 1A(0.16)A(0.16)
Wind 2C(0.12),A(0.16)A(0.16)
Wind 3C(0.12),A(0.16)A(0.16)
Wind 4C(0.12),B(0.14) B(0.14)
Wind 5B(0.14)B(0.14)
1 REPLY 1
v-evelk
Microsoft Employee
Microsoft Employee

Hello,

 

Looks like you need to use DAX, but this question is out of our expertise because it is a feature of Power Bi Desktop.

Please, try to use DAX and if you have some questions regarding it you can ask them in the Desktop thread.

 

Evgenii Elkin,
Software Engineer
Microsoft Power BI Custom Visuals
pbicvsupport@microsoft.com

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

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

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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