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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
ErickReris
Frequent Visitor

Suggesting values to reach a goal in Power BI

Hello everyone, everything good?

I have a question about something that I don't know if it is possible to do in Power BI or Power Apps.

Is it possible for Power BI to suggest values ​​to achieve a goal?

For example:

I have 27941 products in stock that have a coverage (duration) of 23 days.

Coverage is calculated using the Number of Products in Stock X Average Daily Consumption

But assuming that the ideal coverage is 27 days, I wanted Power BI to suggest how many products I need to have to reach the Optimal Coverage of 27 days.

It is possible to do in Power BI ?

 

Power BI Suggestion idea.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @ErickReris ,

Please try below steps:

1. Calculate Average Daily Consumption: If you haven't already, you'll need to calculate the average daily consumption of your products. This can be done by dividing the total consumption over a period by the number of days in that period.

 

2. Create a Measure for Optimal Coverage Calculation: Use DAX to create a measure that calculates the number of products needed to reach the 27 days of coverage. The formula will look something like this:

Optimal Stock = (Average Daily Consumption * 27)

 

3. Calculate Additional Products Needed: To find out how many additional products are needed to reach the optimal coverage, you can create another measure:

Products Needed for Optimal Coverage = [Optimal Stock] - [Current Stock]

Replace [Current Stock] with the measure or column that represents your current stock of 27,941 products.

 

Best regards,
Community Support Team_Binbin Yu
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

1 REPLY 1
Anonymous
Not applicable

Hi @ErickReris ,

Please try below steps:

1. Calculate Average Daily Consumption: If you haven't already, you'll need to calculate the average daily consumption of your products. This can be done by dividing the total consumption over a period by the number of days in that period.

 

2. Create a Measure for Optimal Coverage Calculation: Use DAX to create a measure that calculates the number of products needed to reach the 27 days of coverage. The formula will look something like this:

Optimal Stock = (Average Daily Consumption * 27)

 

3. Calculate Additional Products Needed: To find out how many additional products are needed to reach the optimal coverage, you can create another measure:

Products Needed for Optimal Coverage = [Optimal Stock] - [Current Stock]

Replace [Current Stock] with the measure or column that represents your current stock of 27,941 products.

 

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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