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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
mengna
Frequent Visitor

Depleting Percentages

Hi All,

 

Sorry if this is a dumb question, but I'm not sure how to write a measure that calculates the % needed of an item if it appears in multiple locations. It should deplete from the % needed until 0%. Example below:

 

table

4 REPLIES 4
Ashish_Mathur
Super User
Super User

Hi,

There is no image in your post.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Nathaniel_C
Super User
Super User

Hi @mengna 

Not sure what your table is telling us? Where does the % of stock used up, come from?

Thanks,

Nathaniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




That's the column I'm attempting to fix, I want it to be 100% if all the qty in a location needs to be depleted for fulfillment, and then have the next row(s) be calculated based off of how much is left to be fulfilled. 

 

So 825 qty needed - (288 + 288) = 576, so we need 249 more qty.

This is 37% of the 672 qty to fulfill the remaining. 

 

Sorry for not using a simpler example, this is the current calculation I was actually dealing with.

Hi,

I still cannot understand what you want.  Someone else will help you.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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