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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
tonton
Frequent Visitor

How to SUM 'Count' value and show percentage

I have a data something like this:

tonton_0-1602210809147.png

 

and I want to achieve this kind of table report in my dashboard.

tonton_2-1602210974522.png

 

If you notice in my table report above, there are BRAZIL and JAPAN that doesnt have any product ID, I also want to show this.

What I did so far is to create a new data source with the list of ALL Country and merged it with my Product Sales list

 

For the Order ID Count, what I did is to create a measure

Order ID Count = COUNT(Merge1[tblSales.Order ID]))

 

now my question is how to show the percentage? because if I add Order ID Count column as value an select 'Show value as percentage of grand total', BRAZIL and JAPAN won't be shown in the table

 

tonton_3-1602211213193.png

 

any idea to show BRAZIL and JAPAN as 0 and percentage of the 'Count'?

 

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

3 REPLIES 3
v-yingjl
Community Support
Community Support

Hi @tonton ,

Glad to hear the issue is solved. You can accept the suitable reply as solution, that way, other community members could easily find the answer when they get same issues.


Best Regards,
Yingjie Li

amitchandak
Super User
Super User

@tonton , Add +0 to your Measure

woah that was fast. actually I saw in some post/discussions adding +0 somewhere but not really sure exactly where. thanks for this info. it now works!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.