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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.