Forum Discussion
Calcular Previsión Anual
- 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.
Hi AntonioPed ,
If you need help in converting qlikview script to dax, please show us a screenshot with the tables you use and the result you want. Then we can help you based on your requirement. Or you can share a sample file with us.This will make us easier to find the solution.
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.
- AntonioPed3 years agoFrequent Visitor
Hola, buenos días. Aquí una captura de la tabla en formato excel. Gracias y saludos
- Anonymous3 years agoNot applicable
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.