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!View all the Fabric Data Days sessions on demand. View schedule
Good afternoon everyone,
I did my best to search the forum to find a solution to my issue before posting, but I was unsuccessful. Here is an example of what I am trying to do:
- my data source is an online SharePoint list
- the two columns I'm trying to visualize together are "Employee #1 work location" and "Employee #2 work location"
- in the SharePoint list these columns have 13 identical options for work locations
Sample Data:
Case - Employee #1 work location - Employee #2 work location
1 - New York - Boston
2 - Florida - New York
3 - Ohio - Boston
I am trying to create a visual that combines the Count of these two values, so for example I want to show:
New York - 2
Boston - 2
Ohio - 1
Am I missing something obvious or easy? Right now the best solution I can come up with is to use the card visual for each indivudual count, with no ability to add them up.
Thank you in advance for your help and expertise!
-beard
Solved! Go to Solution.
What I would do here is reference or duplicate the query, remove all but the SharePoint ID and the work location columns, and then unpivot the work location columns so that they are only in one column. You can use the former column titles as the label to differentiate between location 1 and location 2.
Then relate the two tables on the SharePoint item ID, and it becomes a dimension that you can count.
Someone else might have a clever DAX solution for this, but unpivoting would be my go-to.
What I would do here is reference or duplicate the query, remove all but the SharePoint ID and the work location columns, and then unpivot the work location columns so that they are only in one column. You can use the former column titles as the label to differentiate between location 1 and location 2.
Then relate the two tables on the SharePoint item ID, and it becomes a dimension that you can count.
Someone else might have a clever DAX solution for this, but unpivoting would be my go-to.
Thanks for your response, I don't have any experience with unpivoting but I'll do some research and give it a shot!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!