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
Mants
Frequent Visitor

Create String based on results in table in report

Dear, 

 

I have a report with multiple slicers and a results table. The results in the table are determined by the slicers. 

I would like to create a string to be presented in the report, composed of the ProjectCode values that would change based on the status of the slicers. 

 

For instance if after applying slicers the table shows:

 

ProjectCode
PROJECT-1
PROJECT-2
PROJECT-3

 

The string to appear in a separate visual in the report will be

 

"PROJECT-1,PROJECT-2,PROCET-3"

 

Is such a function possible and how could i best do that?

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @Mants 
You can use concantenatex formula to achieve it.
Create a measure with code :

test = CONCATENATEX(VALUES('Table'[ProjectCode]),[ProjectCode],",")
Ritaf1983_0-1692180621869.png

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

2 REPLIES 2
Mants
Frequent Visitor

Thank you so much! this was the solution i was looking for. so if i understand correctly, adding "VALUES" filters the table column based on the active slicers in the report?

 

Ritaf1983
Super User
Super User

Hi @Mants 
You can use concantenatex formula to achieve it.
Create a measure with code :

test = CONCATENATEX(VALUES('Table'[ProjectCode]),[ProjectCode],",")
Ritaf1983_0-1692180621869.png

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
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.