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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Good afternoon,
I have the following problem, in one column I have the cities that have assigned the staff, there are staff that have only 1 as there are others that have 19 cities, they all register me in the same column.
I need to create a visual of data segmentation in which only the cities register me, and then when I click on any of them it throws me the information of how many people there are for that city.
Thank you very much in advance.
Solved! Go to Solution.
Hi, @Syndicate_Admin
Please check if formula below could help:
Count =
VAR _count =
CALCULATE (
COUNT ( Table1[Data.Tags] ),
CONTAINSSTRING ( Table1[Data.Tags], MAX ( Table2[CD] ) )
)
RETURN
IF ( ISFILTERED ( Table2[CD] ), _count, COUNT ( Table1[Data.Tags] ) )
If it doesn't work, please share more details.
Best Regards,
Community Support Team _ Eason
Hi, @Syndicate_Admin
Please check if formula below could help:
Count =
VAR _count =
CALCULATE (
COUNT ( Table1[Data.Tags] ),
CONTAINSSTRING ( Table1[Data.Tags], MAX ( Table2[CD] ) )
)
RETURN
IF ( ISFILTERED ( Table2[CD] ), _count, COUNT ( Table1[Data.Tags] ) )
If it doesn't work, please share more details.
Best Regards,
Community Support Team _ Eason
@Syndicate_Admin , In power query remove [ , ] and double quote.
The option is to split the column into rows
Power Query Split Column , Split Column By Delimiter: https://youtu.be/FyO9Vmhcfag
or you split it into a separate table
Power BI- Text Part slicer to filter/search text - https://youtu.be/MKKWeOqFG4c