Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Cumulative Forecast

Hello!

 

I've been trying to create a line and column chart with dates actual costs and forecast. I need to show the line data as cumulative data so i entered this dax formula:

 

Act Fct Cumulative =

CALCULATE(

SUM(Sheet3[ Value 1]),

FILTER(

ALLSELECTED (Sheet3) ,

Sheet3[Attribute] ‹= MAX(Sheet3[Attribute])

)

)

This code has been working well. Now what im trying to add to the same cumulative line is the forecast "dotted line" I need the dotted line to start at our current date so in October onwards. Is there a code you guys know that i can use on the same data set (Act Fct Cumulative)

 

The actual and forecast have to be and are on the same line in the excel sheet, so the actual costs are the months prior and from October these are forecasts numbers.

 

Thank you!!!

  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi Anonymous 

    I think you want to create an intelligence forecast line in line and cluster column chart. Power BI doesn't support you to use Analytics pane in line and cluster column chart. 

    For reference:Considerations and limitations

    Lastly, you can't currently apply any dynamic lines to many visuals, including (but not limited to):

    • Funnel
    • Line and clustered column chart
    • Line and stacked column chart
    • Ribbon chart
    • Non-Cartesian visuals, such as Donut chart, Gauge, Matrix, Pie chart, and Table

    Here I suggest you to add forecast line in line chart. 

    Best Regards,
    Rico Zhou

     

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

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous 

    I think you want to create an intelligence forecast line in line and cluster column chart. Power BI doesn't support you to use Analytics pane in line and cluster column chart. 

    For reference:Considerations and limitations

    Lastly, you can't currently apply any dynamic lines to many visuals, including (but not limited to):

    • Funnel
    • Line and clustered column chart
    • Line and stacked column chart
    • Ribbon chart
    • Non-Cartesian visuals, such as Donut chart, Gauge, Matrix, Pie chart, and Table

    Here I suggest you to add forecast line in line chart. 

    Best Regards,
    Rico Zhou

     

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

  • sv00001's avatar
    sv00001
    Frequent Visitor

    Hi,

     

    I wanted implement the same solution for my requirement but I dont see the forecast line in the analytics pane for the same line chart.

    I have used date and my cumulative measure in the line chart.

    Can I know why i dont see the forecast line and help me with this