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
Andrew_na_lang
Helper IV
Helper IV

How can I know the number of months we lost in terms of growth

Hi Fam,

I hope someone can help me. 

I calculated our running total and plotted it as a line chart. The line chart gave us a pretty nice idea of how the business accelerated over the years. In line with that projection, is there a way for me to know how many months we lost in terms of growth? 

Screenshot 2022-06-08 173543.png

 

The rolling total sales measure I used is: 

Running Total (Order Completed) =
CALCULATE(
[Number of Orders (Completed)],
FILTER(
ALL('Calendar'[Date]),
'Calendar'[Date] <= MAX('Calendar'[Date])
)

I heard about the what-if function. Is that how I should extract the information I need? 

Any help is much appreciated. 

Regards,

 



1 REPLY 1
v-chenwuz-msft
Community Support
Community Support

Hi @Andrew_na_lang ,

 

How to use what-if function in power bi please refer this link.

Use what-if parameters to visualize variables - Power BI | Microsoft Docs

 

I think your first problem is how to calculate the trend line. Then subtract the current sales from the trend line. The trend line may be quadratic regression.

 

Best Regards

Community Support Team _ chenwu zhu

 

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

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.

Top Solution Authors