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! Learn more

Reply
andyspa
Helper I
Helper I

Market share in Map Visualization

Hello everybody,

 

I have the following data.

 

I want to create a Map in Power BI to show on a first level the country, then the town. Legend must show the players and the balls size the indistinct count of sites. All clear until now. However, I wanted to add in the tooltip  the info of the Market share. When I have the "town level" it's correct, when I zoom out at country level it returns completely wrong values. Is there something I can do to make it aggregate those? Perhaps some calculation in the excel source file?

 

Thanks in advance for your help.

 

Regards,

Andrea

 

1 ACCEPTED SOLUTION

Hi, @andyspa 

 

You may try the following measure to see if it helps. 

Measure = 
DIVIDE(
    SUM('Table'[Market Share]),
    CALCULATE(
        SUM('Table'[Market Share]),
        ALLEXCEPT('Table','Table'[Country])
    )
)

 

Result:

b1.png

 

Best Regards

Allan

 

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

View solution in original post

8 REPLIES 8
ian_abq
Regular Visitor

Could you to make the file available again?

I'm having trouble making the pie graph inside the maps visualization.

v-alq-msft
Community Support
Community Support

Hi, @andyspa 

 

It seems correct from the visual. Could you please show us the expected result for better understand?

c1.png

 

Best Regards

Allan

 

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

Hello @v-alq-msft ,

 

I want to show the real market share when moving the cursor to the pie slice, not 1830%! Cannot be more than 100%.

 

Thanks.

Andrea

Hi, @andyspa 

 

You may try the following measure to see if it helps. 

Measure = 
DIVIDE(
    SUM('Table'[Market Share]),
    CALCULATE(
        SUM('Table'[Market Share]),
        ALLEXCEPT('Table','Table'[Country])
    )
)

 

Result:

b1.png

 

Best Regards

Allan

 

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

PhilipTreacy
Super User
Super User

HI @andyspa 

Upload the file to OneDrive, Dropbox or similar then share the link to the file here.

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Thanks Phil, I did already in the original post. Anyhow here you can find it 🙂


Thanks

PhilipTreacy
Super User
Super User

@andyspa 

Please share your data in file format.

An image of what you currently have and what isn't right would also help.

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Hello @PhilipTreacy,

 

do you know ho can I share the file? I don't have the option here.

 

Cheers,

Andrea

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