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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
NewBIe2013
Regular Visitor

Need help with measures - Demand and Usage

BI gurus, I'm a beginner on DAX/Measures.

I have this Excel and the calculation rather easy to achieve, and would like to convert it to Power BI, did some research from online and this community, went through a couple of resolutions from online such as cross-highlight, current month, and future month, and couldn't get my head around.

 

Hence would really need your help on the Planned and Future Qty, they are from same table called Forecast with Order date and Delivery date. 

 

This probably needs a couple of measures, and want to achieve:

- Planned Qty: qty order on the month but may be deliver in the following months;

- Future Qty: qty might need to order next month and deliver in the following months;

- Stock level:

  > capture the current stock level (i.e. 127), then from next month onwards, it would be [(current stock level + Planned qty + Future qty) - Usage]

 

NewBIe2013_0-1708751093032.png

 

 

Thanks.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @NewBIe2013 ,

 

Since I don't know the source of the first stock level, I used the formulated data to complete your idea:

vtianyichmsft_0-1709543858804.png

 

An attachment for your reference. Hope it helps!

 

Best regards,
Community Support Team_ Scott Chang

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

3 REPLIES 3
NewBIe2013
Regular Visitor

Hi @Anonymous , thanks for that. 
need some clarifications on the measure, you have put in the var _num = 127, can it be update to take from the current on hand stock level (even though it still 127)? Reason to ask for change is because when comes to Apr, the current on hand will be different. Look forward to your response. Thanks. 

NewBIe2013
Regular Visitor

Future Qty = sum of dark pink colour cells. 

Anonymous
Not applicable

Hi @NewBIe2013 ,

 

Since I don't know the source of the first stock level, I used the formulated data to complete your idea:

vtianyichmsft_0-1709543858804.png

 

An attachment for your reference. Hope it helps!

 

Best regards,
Community Support Team_ Scott Chang

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

 

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.