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
GRedhead
Helper I
Helper I

Forecast vlaues over period

Hi, I am trying to generate the following table and chart from the raw data circled, any assistance on how I can do this will be most appreciated.

The data in the raw table is basically opportunity values and we have a start date, I need to add up the total each month and then evenly split the month's value out over the following 12 months and produce the lower table and chart.

 

GRedhead_3-1652554857024.png

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @GRedhead ,

 

Isn't the dates incorrect? based on the values you present the values are all from February to February, I have made some changes to your data in order to get the result you need.

 

  • Insert a column with month start
  • Add a new column wiht the monthly value:
[Opportunity Value]/[Period Months]
  • Add another column wiht a list from 0 to the period months:
{0..[Period Months]}
  • Expand the Periods columns
  • Add a customs column with the values of end date:
Date.AddMonths ([Start of Month], [Periods])
  • Delete the columns you don't need.

MFelix_0-1652715630810.png

 

If you need this to be a metric then this has to be done in a different way tell me if needed.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

2 REPLIES 2
GRedhead
Helper I
Helper I

This did the trick @MFelix, I'm eternally great full

GRedhead_0-1652722313888.png

 

MFelix
Super User
Super User

Hi @GRedhead ,

 

Isn't the dates incorrect? based on the values you present the values are all from February to February, I have made some changes to your data in order to get the result you need.

 

  • Insert a column with month start
  • Add a new column wiht the monthly value:
[Opportunity Value]/[Period Months]
  • Add another column wiht a list from 0 to the period months:
{0..[Period Months]}
  • Expand the Periods columns
  • Add a customs column with the values of end date:
Date.AddMonths ([Start of Month], [Periods])
  • Delete the columns you don't need.

MFelix_0-1652715630810.png

 

If you need this to be a metric then this has to be done in a different way tell me if needed.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



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.