Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
I have a scenario where need to list the distinct regions through multiple columns (Impacted Site.A, Impacted Site. B, etc) and also count how many times they show up in those columns. Can you please advise how it can be done with Power BI?
Thanks.
Solved! Go to Solution.
Hi @Krisztian,
In this scenario, please try this DAX formula to create a calculated table. Add a new column, specify a non-blank value for it.
Table = UNION ( SELECTCOLUMNS ( Site, "SiteList", Site[Impacted Site.A] ), SELECTCOLUMNS ( Site, "SiteList", Site[Impacted Site.B] ), SELECTCOLUMNS ( Site, "SiteList", Site[Impacted Site.C] ), SELECTCOLUMNS ( Site, "SiteList", Site[Impacted Site.D] ), SELECTCOLUMNS ( Site, "SiteList", Site[Impacted Site.E] ) )
Column = 1
Then, drag a table visual in your report.
Thanks,
Yuliana Gu
Hi @Krisztian,
In this scenario, please try this DAX formula to create a calculated table. Add a new column, specify a non-blank value for it.
Table = UNION ( SELECTCOLUMNS ( Site, "SiteList", Site[Impacted Site.A] ), SELECTCOLUMNS ( Site, "SiteList", Site[Impacted Site.B] ), SELECTCOLUMNS ( Site, "SiteList", Site[Impacted Site.C] ), SELECTCOLUMNS ( Site, "SiteList", Site[Impacted Site.D] ), SELECTCOLUMNS ( Site, "SiteList", Site[Impacted Site.E] ) )
Column = 1
Then, drag a table visual in your report.
Thanks,
Yuliana Gu
this works except, it's not being filtered by my report level filters, it seems since all the values come from a table that is being filtered it should work, any pointers on the filtering?
Thanks Yuliana, works perfectly, appreciate your assistance!
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
68 | |
68 | |
40 | |
29 | |
26 |
User | Count |
---|---|
88 | |
49 | |
45 | |
38 | |
37 |