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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
NewNewNewbie
Frequent Visitor

Doing Prediction Based on Simple Calculations

Hello, I have several tables with structure like this:

 

1. Stock Table, with column:

a. Material (with several unique materials)

b. Period (only have 1 date, for example 1 Nov 2023)

c. Qty

 

2. Sales Plan, with column:

a. Material (with several unique materials)

b. Periode (with many date aggregated in start of month, for example 1 Nov 2023, 1 Dec 2023, 1 Jan 2024, etc)

c. Qty

 

3. Supply Plan, with column:

a. Material (with several unique materials)

b. Periode (with many date aggregated in start of month, for example 1 Nov 2023, 1 Dec 2023, 1 Jan 2024, etc)

c. Qty

 

what I want is, first, create Salesplan Readiness, by doing some IF formula, IF Sales Plan[Qty] <= Stock[Qty], then Sales Plan[Qty], Else Stock[Qty], I have created this measure

 

and then I want to predict next month Stock by using formula: Stock Table[Qty] + Supply Plan[Qty] - Salesplan Readiness.

 

How to create a measure that predict next month stock? Thank you

 

 

1 REPLY 1
lbendlin
Super User
Super User

Great that you already formulated the business rules. Now you can implement them directly.

 

Keep in mind that Power BI is a reporting tool, not a resource planning tool.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.