Forum Discussion
AntonioPed
3 years agoFrequent Visitor
Calcular Previsión Anual
Hola, soy nuevo en DAX. Estoy pasando un qlikview a Power BI y quisiera por favor saber como traducir la previsión anual desde qlikview a powerbi. (rangesum(above(Sum ({<[Año Venta]={$(=max([AñoVe...
- Anonymous3 years ago
Hi AntonioPed ,
Here I create a sample to have a test.
Calculated column:
Accumulate Value = CALCULATE(SUM('Table'[Value]),FILTER('Table','Table'[MonthNumber]<=EARLIER('Table'[MonthNumber])))Accumulate Value-1 = CALCULATE(SUM('Table'[Value-1]),FILTER('Table','Table'[MonthNumber]>=EARLIER('Table'[MonthNumber])))Projection = 'Table'[Accumulate Value] + 'Table'[Accumulate Value-1]Result is as below.
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
AntonioPed
3 years agoFrequent Visitor
Muchas gracias, ya funciona. 😀 He sustituido EARLIER por MAX ya que no me funcionaba con EARLIER.
Thank you !!! 😍