Forum Discussion

wonybuas's avatar
wonybuas
New Member
3 years ago
Solved

matriz de metas

ola, precisando de uma ajuda com a seguinte situação

calculado de metas com base nos dias seguintes disponivéis, reajustando a meta por dia de acordo com acumulado de vendas dos dias anteriores mas os valores passados ​​das metas devem permancer os mesmos, somente os valores dos dias seguintes ajustados de acordo com as vendas

segue modelo feito no excel

 

 

  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi wonybuas 

    You can refer to the following example, I replace the "-" with blank, that is convenient to use it,

    You can create a new calculated column:

    DIARIA = VAR A=MAXX(FILTER('Table',[DIA]<=EARLIER([DIA])),[ACUM])
    RETURN IF([Type]<>"dom",DIVIDE([ALL META]-A,[Days]))

    Output:

     

    Best Regards!

    Yolo Zhu

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

     

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi wonybuas 

    You can refer to the following example, I replace the "-" with blank, that is convenient to use it,

    You can create a new calculated column:

    DIARIA = VAR A=MAXX(FILTER('Table',[DIA]<=EARLIER([DIA])),[ACUM])
    RETURN IF([Type]<>"dom",DIVIDE([ALL META]-A,[Days]))

    Output:

     

    Best Regards!

    Yolo Zhu

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