Forum Discussion

azakir's avatar
azakir
Icon for Resolver I rankResolver I
2 years ago
Solved

Enter measure values for missing months

Hi Guys. 

I've got my main table connected with date table. The main table has a column that calculates the Sum of Recycled by month. The data is only till August 2023. I would like to somehow display in a table visual the values till August 2023, and for months after August, the average of values till August 2023.

So basically, from Sep-Dec, just show the average:

 

 

  • Hi, azakir 

     

    You can try the following methods.

    Measure 2 = 
    Var _aver=DIVIDE(CALCULATE(SUM('Table'[Value]),ALL('Table')),8)
    Return
    IF([Measure]=BLANK(),_aver,[Measure])

    Is this the result you expect?

     

    Best Regards,

    Community Support Team _Charlotte

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

6 Replies