Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Mapping with multiple data sets

Hi I'm trying to map employee counts over a company on a map. For example my data looks like

 

StateMarketingSalesFactoryManagement 
ALABAMA16033686228 
ALASKA23746157628 
ARIZONA11539276214 

 

I would like to use a filled map that is filled based on the sum of all employees, but have a slicer that would recolor the map if I only cared about the distribution of a certain kind of employee (e.g marketing, mangement, etc). 

 

Currently I can only have one value as the value used for the mapping, I can easily sum the numbers, but I cannot get the filtering to work.

 

Any help would be appreciated.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@Anonymous,

 

If I understand correctly, you are trying to seee Filled Map visualization by state and be able to filter by each department (Marketing, Sales, Factory, Management) ?

Let say, I have your sample data:


1.PNG

 

 

 

 

 

 

 

First, you need to unpivot data to have a tabular structure.

Select State column and go to Transform -> Unpivot Columns -> Unpivot Other Columns

You will get:

 

2.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Then import the data and create visualization with filter by the new Attribute column:

 

3.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Let me know if this helps. Thanks. 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

@Anonymous,

 

If I understand correctly, you are trying to seee Filled Map visualization by state and be able to filter by each department (Marketing, Sales, Factory, Management) ?

Let say, I have your sample data:


1.PNG

 

 

 

 

 

 

 

First, you need to unpivot data to have a tabular structure.

Select State column and go to Transform -> Unpivot Columns -> Unpivot Other Columns

You will get:

 

2.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Then import the data and create visualization with filter by the new Attribute column:

 

3.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Let me know if this helps. Thanks. 

Anonymous
Not applicable

You're an absolute saint. The whole pivoting thing is something I'm still trying to grasp. 

 

Thanks, 

 

Chris 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.