The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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 |
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.
Yes, I'm familiar with the heirarchy in a slicer, as shown here:
PBIX 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.
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?
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
21 | |
12 | |
10 | |
7 |