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
Anonymous
Not applicable

How can I measure a percentage via many criterias?

Hi all,

I would like to calculate the percentage as sample below:

 

GeographyMethodDelivered
NorthA1000
SouthB2000
CentralC1000
NorthB3000
SouthA2000
CentralB

3000

 

Let's say, I want to draw a column charge showing the percentage of Method A,B,C in North (which is 25%,75%,0% respectively). How should I do to get that measure?

 

Thanks for your help.

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I'm getting total of A is 3000 as per the data you provided. I dont know how you got 4000.

Anyway, 

if 3000 is correct count, try following dax.

 

Percentage = Sheet1[Delivered]/CALCULATE(SUM(Sheet1[Delivered]),ALLEXCEPT(Sheet1,Sheet1[Method]))*100

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

You haven't mentioned the total of delivered to calculate %. Suppose if it is 4000, 

Create the column and use following dax

 

Percentage = Sheet1[Delivered]/4000*100
 
Replace 4000 with the total amount.
 
Untitled.png
 
 
Let me know if it works.
Anonymous
Not applicable

Not really...

 

the total of delivery should be the sum of all delivery for each method:

 

Method A: 4000

Method B: 8000

Method C: 1000

 

Anonymous
Not applicable

I'm getting total of A is 3000 as per the data you provided. I dont know how you got 4000.

Anyway, 

if 3000 is correct count, try following dax.

 

Percentage = Sheet1[Delivered]/CALCULATE(SUM(Sheet1[Delivered]),ALLEXCEPT(Sheet1,Sheet1[Method]))*100

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.