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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
Anonymous
Not applicable

How to enable total at below row (percentage)

Hi all,

 

Any suggestion to enable percentage for total of start, joint and end at below row? Please refer current and what i expected.

 

Current

 

nuhasan_0-1687744566652.png

 

Expected

nuhasan_2-1687744967990.png

 

Regards,

Nuha

 

3 REPLIES 3
Dhairya
Super User
Super User

Hey @Anonymous 
Can you please explain how you have calculated the percentage that you have shown in the expected output?

Anonymous
Not applicable

Hi @Dhairya ,

 

We take Start as example.

 

start (%) = sum of start (unit) / sum of usage (unit) 

 

Regards,

Nuha

Please trying this by creating following measures

total usage units = SUM(YourTableName[Usage units])

sum of usage = SUMX(ALLSELECTED('YourTableName'[Machine]),[total usage units])

total start units = SUM(YourTableName[start units])

sum of start (unit) = SUMX(ALLSELECTED('YourTableName'[Machine]),[total start units])
 
start (%) = IF(
ISINSCOPE([Machine]),
[total start units],
DIVIDE(sum of start (unit),
[sum of usage],
0
)
)

create similar measures for end and joint percentage

if still you are facing any issues please share dataset which I can copy and try on my system.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Solution Authors
Top Kudoed Authors