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
dkrishnan
Frequent Visitor

Current, Previous and Forecast for the next month

0Hi All

 

advance thanks for the help.

 

I have a situation where i need to derive the current full month forecast, previous month, mon change and mom change %

 

The table is as per below:-

 

CarrierTraffic Period StartMinutes
Carrier A1-Apr-21100
Carrier B1-Apr-21200
Carrier C1-Apr-21300
Carrier D1-Apr-21400
Carrier E1-Apr-21500
Carrier F1-Apr-21600
Carrier G1-Apr-21700
Carrier A1-May-21800
Carrier B1-May-21900
Carrier C1-May-211000
Carrier D1-May-211100
Carrier E1-May-211200
Carrier F1-May-211300
Carrier G1-May-211400
Carrier A1-Jun-211500
Carrier B1-Jun-211600
Carrier C1-Jun-211700
Carrier D1-Jun-211800
Carrier E1-Jun-211900
Carrier F1-Jun-212000
Carrier G1-Jun-212100

 

The focus is June'21. I need to filter the table to show only Jun'21 data having to derive:-

(a) The full month forecast for June'21. This is to be calculate based on run rate.

(b) What is the corresponding value of the previous month

(c) What is the change value & percentage between current and previous month on the same row of June'21

 

See sample where i need to be:-

 

Traffic PeriodCarrierCurrent Traffic ValueCurrent Month ForecastPrevious MonthPrevious Month Vs CurrentPrevious Month Vs Current (%)Previous Month Vs ForecastPrevious Month Vs Forecast (%)
1-JunCarrier A1500                                 1,667800                                          70088%                                            967121%
1-JunCarrier B1600                                 1,778900                                          70078%                                        1,078120%
1-JunCarrier C1700                                 1,8891000                                          70070%                                        1,189119%
1-JunCarrier D1800                                 2,0001100                                          70064%                                        1,300118%
1-JunCarrier E1900                                 2,1111200                                          70058%                                        1,411118%
1-JunCarrier F2000                                 2,2221300                                          70054%                                        1,522117%
1-JunCarrier G2100                                 2,3331400                                          70050%                                        1,633117%

 

Once i have completed the above, i would need to have a card that shows the carrier that had the lowest movement between last month to current month. Some may show negative movememt.

 

I tried few methods but as soon as i filter the current month, the columns become blank.

 

appreciate any help here

 

regards

deven

1 ACCEPTED SOLUTION

Hi @dkrishnan !

 

Since the calculation uses Date / Calendar dimension, to calculate Previous Month, you need to Place [Calendar Date] / [Calendar Month] in your Matrix visual instead of [Traffic Period], this will resolve the issue.

 

Regards,

Hasham

View solution in original post

4 REPLIES 4
dkrishnan
Frequent Visitor

Hi

 

Thanks for the feedback. I am able to solve the filter issue. However, for the previous month, the value i am getting still the same as the current month. Any thoughts on that?

 

regards

deven

Hi @dkrishnan !

 

Since the calculation uses Date / Calendar dimension, to calculate Previous Month, you need to Place [Calendar Date] / [Calendar Month] in your Matrix visual instead of [Traffic Period], this will resolve the issue.

 

Regards,

Hasham

yep. it resolved as mentioned @HashamNiaz . thanks for the help.

HashamNiaz
Solution Sage
Solution Sage

Hi @dkrishnan !

 

Here are some of teh measure you can use to calculate Previous Month  vs MoM %, you can replicte this for Forecast scenario as well;

 

Traffic Value = SUM(Table[StartMinutes])

Previous Month Traffic Value = CALCULATE([Traffic Value], DATEADD('Calendar'[Date], -1, MONTH))

Previuos Month Vs Current = [Traffic Value] - [Previous Month Traffic Value]

Previuos Month Vs Current % = DIVIDE( ([Traffic Value] - [Previous Month Traffic Value]), [Previous Month Traffic Value])

 

Measures;

[Traffic Value] is calculating trafic value in current context

[Previous Month Traffic Value] is clauclating traffic value for prevous month

[Previous Month Vs Current] is caluclating difference between Current month vs Previous month traffic values

[Previous Month Vs Current %] is calculating MoM% increase between previous vs current month

 

Regards,

Hasham

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.