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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
csb
Frequent 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 ACCEPTED SOLUTIONS
Shravan133
Super User
Super User

try this:

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

View solution in original post

Hi @csb 

Hope everything’s going smoothly on your end. We haven’t heard back from you, so I wanted to check if the issue got sorted. If yes, marking the solution would be awesome for others who might run into the same thing.

View solution in original post

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

Hi @csb 

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. we’ll be happy to assist.

Hi @csb 

Hope everything’s going smoothly on your end. We haven’t heard back from you, so I wanted to check if the issue got sorted. If yes, marking the solution would be awesome for others who might run into the same thing.

Shravan133
Super User
Super User

try this:

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

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.