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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Filter CONCATENATEX command that every value just appears one time

Hi people,

 

 

I have the following command:

 

 

CONCATENATEX(FILTER('BaseData','BaseData'[OrderNumber]=EARLIER('BaseData'[OrderNumber])),'BaseData'[Team]," ")

 

 

Which shows of this result in a collumn:

 

Screenshot 2020-09-29 163555 new.png

 

My Problem is, that I want every value "A", "B", "C", "D" just one time in the s_t column if it appears. 

For example in the first row: there should be just one "A" in the s_t column.

 

or in the row where the "UnderOrderNumber" is "4", the row in the s_t colum should be "B C D"

 

I'm glad for any help, thanks in advance!

4 REPLIES 4
amitchandak
Super User
Super User

@Anonymous , Not tested, But try like

 

CONCATENATEX(distinct(FILTER('BaseData','BaseData'[OrderNumber]=EARLIER('BaseData'[OrderNumber]))),'BaseData'[Team]," ")

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Thanks @amitchandak it shows a  circular dependency.

 

Doesn't work unfortunatley..

 

I just read, that DISTINCT is a way to don't create a circular dependencys in general.. 

 

Do you have an idea to bypass this error?

 

 

@Anonymous ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Hi @amitchandak 

 

here is a data sample: sample.pbix  

 

Thanks for the help!

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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