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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
csb
Regular Visitor

Percentage value at total row.

Hi,

  I am trying to write below DAX function to calculate the %Pallet Capacity metric as shown in screenshot.But the %Pallet Capacity value at Total row is showing incorrectly .The answer should be 19297 ÷ 22750  = 0.84 which is 84%.

 

% Pallet Capacity = DIVIDE(sum('Reporting v_CustomerInventoryActive'[activePallets]),MAX('Reporting v_CustomerInventoryActive'[CustomerMaxPallets]),0)
 

csb_1-1749760144111.png

 

How can I fix this ?

Thanks..

 

 

 

Thanks..

 

2 REPLIES 2
v-priyankata
Community Support
Community Support

Hi @csb 

May I ask if you have resolved this issue? @Shravan133 thanks for your inputs, @csb  please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

Thank you.

Shravan133
Super User
Super User

try this:

% Pallet Capacity =
DIVIDE(
SUM('Reporting v_CustomerInventoryActive'[activePallets]),
SUM('Reporting v_CustomerInventoryActive'[CustomerMaxPallets]),
0
)

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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