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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.