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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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