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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.