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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Pradnya_Haraple
Frequent Visitor

Need a help on how to filter the data on map visual with different filters using DAX

How can we apply filters on multiple columns & reflect that on Map visual ?

Pradnya_Haraple_0-1646055429534.png

Currently, I am able to filter the data on map with country filter on right by selecting any of the value from country dropdown.

How can we filter based on job domain?

 

5 REPLIES 5
Pradnya_Haraple
Frequent Visitor

Hi - @Anonymous 

Now i am able to filter the map based on diferent filters for job domain, related roles, country, etc.

1.PNG

 However not able to get correct location of country. For example: China 

  • Firstly, how can we get correct location of country? I have tried with Latitude & longitude but its not giving expected result.
  • Secondly, we also want only one value to be displayed for china which calculates average of CL-Manager after applying group by country, job domain & related related roles.

For example : Map visual should display values of china as 2.56 (Average rating of CL-Manager by county) when none of the value from slicer is selected.

2.PNG

Is this possible? or what the map is displaying right now is correct one?

 

Thanks in advance.

Pradnya_Haraple
Frequent Visitor

@amitchandak  - Can you please let us know if the formula used is correct or not?

 

GroupByCountry = GROUPBY(WorldMapLabels, WorldMapLabels[Country],WorldMapLabels[JobDomain], "Avg_Country", AVERAGEX(CURRENTGROUP(), ROUND(WorldMapLabels[CurrentLevelByManager],2)))

 

Now i am able to filter based on job domain & country.

Pradnya_Haraple_0-1646209304046.png

 

Can we display the map like below if none of the filter values from job domain or country is selected.

We want the map to display average rating of manager by country if no filter value is selected.

Pradnya_Haraple_2-1646209545186.png

 

Thanks in advance!!!

 

 

Anonymous
Not applicable

Hi @Pradnya_Haraple ,

 

According to your statement, I think WorldMapLabels[Country] and WorldMapLabels[JobDomain] are in the same table. Does this table relate to the table you used in Map visual? I think if [Country] can filter your visual, [JobDomain] should do this as well. Could you share a sample pbix file with us? We need to know your data model and this will make us easier to find the solution.

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Pradnya_Haraple
Frequent Visitor

@amitchandak  - Job domain filter is a column in used another table. Can we use columns from some other table to filter the data on existing table or visual?

 

Do i need to use Job domain column in Group by formula where group by country is specified?

 

Thanks for the help!!

 

 

amitchandak
Super User
Super User

@Pradnya_Haraple , Not very clear. If the data is connected, Job slicer filter should, if interactions are not disabled

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors