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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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]," ")

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.

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
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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