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

Forecast

Hi,

My data set is as below. What i'm trying to achieve is to calculate single month value, YTD value & FY value for actuals & forecast.

 

ScenarioMonthValueDate
ActualJan501/1/2019
ActualFeb1502/1/2019
ActualMar2503/1/2019
Fcst 2 +10Jan501/1/2019
Fcst 2 +10Feb1502/1/2019
Fcst 2 +10Mar2003/1/2019
Fcst 2 +10Apr2004/1/2019
Fcst 2 +10May2005/1/2019
Fcst 2 +10Jun2006/1/2019
Fcst 2 +10Jul2007/1/2019
Fcst 2 +10Aug2008/1/2019
Fcst 2 +10Sep2009/1/2019
Fcst 2 +10Oct20010/1/2019
Fcst 2 +10Nov20011/1/2019
Fcst 2 +10Dec20012/1/2019
Fcst 3 +9Jan501/1/2019
Fcst 3 +9Feb1502/1/2019
Fcst 3 +9Mar2503/1/2019
Fcst 3 +9Apr3004/1/2019
Fcst 3 +9May3005/1/2019
Fcst 3 +9Jun3006/1/2019
Fcst 3 +9Jul3007/1/2019
Fcst 3 +9Aug3008/1/2019
Fcst 3 +9Sep3009/1/2019
Fcst 3 +9Oct30010/1/2019
Fcst 3 +9Nov30011/1/2019
Fcst 3 +9Dec30012/1/2019

 

Example:

There is one slicer for month. If selected month slicer is Mar, then forecast number should be reading from scenario Fcst 2+10.

 

 Single monthYTDFull year
Actuals250450450
Forecast2004002200

 

How can i achieve this for forecast?

 

Thanks in advance!

3 REPLIES 3
v-shex-msft
Community Support
Community Support

HI @luv3yin ,

Your table contains multiple month values, I think month fields not suitable to find out correspond records and lookup related forecast records.
You can consider to use date field to instead or add a slicer with year field to help filter more accurate.

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Hi @v-shex-msft , 

 

I have slicer for year. Can you guide me through how to calculate for forecast in details? sorry, i'm quite new to this BI.

 

Thanks!

HI @luv3yin ,

Your data is hard to write a measure to dynamic calculation based on slicer, there are a few duplicate record exist in your table.(power bi data model not contains row index and column index)

For your requirement, I can only hard coding conditions to show correspondent result.

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help 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.