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
dwalex
Regular Visitor

String together slicer hierarchy

I have a table of Regions (city names: New York, Atlanta, Seattle) and the states included in those regions. I need to present the user's multiple choices in that slicer as a single string of textI'd like to see:

 

New York Region: New York, New Jersey; Atlanta Region: Georgia, Florida;

 

Or perhaps as a single column table, one row per region:

New York Region: New York, New Jersey
Atlanta Region: Georgia, Florida
3 REPLIES 3
dwalex
Regular Visitor

Important to add that this is a very large Direct Query tabular model source, so whatever I build will have to be added to the model.

dwalex
Regular Visitor

Yes, I'm familiar with the heirarchy in a slicer, as shown here:

PBIX showing questionPBIX showing question

I'm trying to get the choices made in the slicer to appear as text in a measure or as rows in a table. I know how to CONCATENATEX the regions or the states, but not to iterate through the regions and string together the region's states into a single text value.

selimovd
Super User
Super User

Hey @dwalex ,

 

maybe check out the option to use a hierarchy in your slicer:

Add multiple fields to a hierarchy slicer - Power BI | Microsoft Docs

 

Would that be an option? Or do you want everything in a single field?

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
 
Best regards
Denis
 

 

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.