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
plushnalmn
New Member

Percentages based off a certain value within my table.

Anyone know how I can do percentages based off a certain value within my table.

Instead of count(sum) I would like to show what’s the %, to test for errors, so the maximum value is the ID, 3,308,371, so I wanna see fill rate of Name, so 65%, and ID would be 100% since we will always have an ID

 

s1.jpgs2.jpg

 

I’m trying to find the fill rate as a percentage of my ID field
Tried showing as % in table and in matrix but it can only show as a % of the total which isn’t what I want

1 ACCEPTED SOLUTION
ray_ux
Memorable Member
Memorable Member

@plushnalmn 
It's showing total % because it's included blank values, you will need to calculate non blank values, try this calculation:
https://goodly.co.in/calculate-non-blank-values-dax/

Name % =
Dividing(
Calculate(
    Count( [id] ),
    [Name]
),
Count( [id] )
)

 

View solution in original post

2 REPLIES 2
ray_ux
Memorable Member
Memorable Member

@plushnalmn 
It's showing total % because it's included blank values, you will need to calculate non blank values, try this calculation:
https://goodly.co.in/calculate-non-blank-values-dax/

Name % =
Dividing(
Calculate(
    Count( [id] ),
    [Name]
),
Count( [id] )
)

 

MahyarTF
Memorable Member
Memorable Member

Hi,

Not clear to me.

Are the columns (Name, Phone, and Id) in the same table ?

If Yes, Why you don't create a separate Column measure for each column that is calculated the Percentage of value based on ID'd value?

Would you please share some sample data and also your expectation separately?

Mahyartf

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.