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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
BSchrave
New Member

matrix with percentages

Hi I'm new. Can somebody help me to get the right percentage for each row in my matrix.

 

I have a matrix with numbers in two different columns.

Both numbers are calculated wit quick measures.

I would like to add another column with percentages for each row.

 

I made a new quick measure but the results are not de percentages I like to show.

In the example the percentages in the third column I would like as result.

 

In the matrix I can only choose for percentages calculated from total, total column and total row.

But that's not what I want. 

I added the formulas that I've used.

 

 

 

 

My English is not so good.

And the example is in Dutch, so I hope somebody in this community is Dutch and can help me.

 

Naam zorgaanbiederAantal factuurregelsAantal te laat ingediende factuurregelsAantal te laat ingediende factuurregels gedeeld door Aantal factuuregels           
A343237%          
B3414814%          
C273135%          
D1032120%          
              
              
              
Aantal factuuregels = DISTINCTCOUNTNOBLANK('Datadump Declaraties met Crediteringen'[Declaratieregel Id])     
Aantal te laat ingediende factuurregels = DISTINCTCOUNTNOBLANK('Datadump Declaraties met Crediteringen'[Aangepast declaratieID])   
Aantal te laat ingediende factuurregels gedeeld door Aantal factuuregels = DIVIDE([Aantal te laat ingediende factuurregels], [Aantal factuuregels])

 

 

1 ACCEPTED SOLUTION
v-easonf-msft
Community Support
Community Support

Hi, @BSchrave 

Can you share some sample data about your table “'Datadump Declaraties met Crediteringen'”.

I test your measure in my sample data.Everything works well.

 

Please check if there is any filters applied in the visual.

47.png

 

pbix attached

 

Best Regards,
Community Support Team _ Eason

 

 

View solution in original post

4 REPLIES 4
v-easonf-msft
Community Support
Community Support

Hi, @BSchrave 

Can you share some sample data about your table “'Datadump Declaraties met Crediteringen'”.

I test your measure in my sample data.Everything works well.

 

Please check if there is any filters applied in the visual.

47.png

 

pbix attached

 

Best Regards,
Community Support Team _ Eason

 

 

 

Thank you so much. Sometime the solution is so simple. I overlooked the adjustment complety.

 

Greg_Deckler
Community Champion
Community Champion

@BSchrave - Chapter 4, Recipe 7: https://github.com/gdeckler/DAXCookbook



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
amitchandak
Super User
Super User

@BSchrave , I think because of distinct count GT can change.

try like

sumx(values(Table[Naam zorgaanbieder]) ,[Aantal te laat ingediende factuurregels gedeeld door Aantal factuuregels])

or

AverageX(values(Table[Naam zorgaanbieder]) ,[Aantal te laat ingediende factuurregels gedeeld door Aantal factuuregels])

 

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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.