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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
KWelsh8144
Helper II
Helper II

Calculation per row in matrix

What DAX would i use to calculate a percentage per row..

 

For example, the below screenshot, 4 in the first column/row, should say 30.77% (4/13).. and then the same for every number listed here with the 'assigned' column being the total to divide by. Ideally the % in the assigned column would all represent 100%. The 'not started', 'incomplete', and 'complete' should all total up to 100%.

PATH2.PNG

3 REPLIES 3
v-yalanwu-msft
Community Support
Community Support

Hi, @KWelsh8144 ;

Try it.

measure =
DIVIDE (
    SUM ( [value] ),
    CALCULATE (
        SUM ( [value] ),
        FILTER (
            ALL ( 'table' ),
            EOMONTH ( [date], 0 ) = EOMONTH ( MAX ( [date] ), 0 )
        )
    )
)

If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

Solved: How to upload PBI in Community - Microsoft Power BI Community


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Greg_Deckler
Community Champion
Community Champion

@KWelsh8144 Try right-clicking the measure in the field well and choose Show As and then Percent of total



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...

When i do that (percent of row total), it all shows as 100% @Greg_Deckler 

 

PATH2.PNG

 

The calculated column that makes up 'not started' (just as one example) is 

= if(Sheet1[*completefield] = 0, 1, 0)
 
Then, in the matrix, i have it as a sum. When i switch to % by row, that's what happens.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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