Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hola a todos,
Por favor, sugiéndeme cómo modificar la medida inferior para mostrar valores acumulados, es decir, P01 = P01, P02 = P01 +P02, P03 = P01 +P02+P03
Presupuesto PNL =
VAR LC=
CALCULATE(SUM(FACT_DATA[AMOUNT]), FILTER(FACT_DATA, [CURRENCY_ID]=186 & FACT_DATA [SCENARIO_ID]=2 & year(FACT_DATA [PERIOD_DATE])=[ControlPeriod Año Actual]))
VAR USD=
CALCULATE(SUM(FACT_DATA[AMOUNT]), FILTER(FACT_DATA, [CURRENCY_ID]=184 & FACT_DATA [SCENARIO_ID]=2&& year(FACT_DATA[PERIOD_DATE])=[ControlPeriod Año Actual]))
REGRESO
IF(SELECTEDVALUE(_Currency[Currency])="Local",LC,
IF(SELECTEDVALUE(_Currency[Currency])="USD Operativo",USD))
Periodo de Control Año Actual = AÑO(TODO(DIM_CONTROL_PERIOD[CURRENT_PERIOD]))
Mi modelo se ve así:
@Snagalapur , si están en el mismo formato, se pueden ordenar. Puedes usar cálculo visual de suma corrida
Cálculos visuales en Power BI - Actualización de febrero de 2024 RUNNINGSUM, RANGO, MEDIA MÓVIL, COLLAPSE, COLLAPSEALL, EXPANDIR, EXPANDIR, FIRST, PREVIOUS y NEXT
https://www.youtube.com/watch?v=bKD9T0EWgQo&list=PLPaNVDMhUXGYo50Ajmr4SgSV9HIQLxc8L
Si no, pon la columna de rango en tu tabla sobre YYYYPP (periodo anual)
Rango de periodo = RANKX(todo(Periodo),Period[periodo de año],,ASC,Denso)
Entonces puedes medir
Cumm = CALCULATE(sum('Table'[Qty]), FILTER(ALL(Period),Period[Period Rank]<=max(Period[Period Rank])))
También otras medidas
Este Periodo = CALCULAR(suma('Tabla'[Qty]), FILTER(ALL(Period),Period[Rango de Periodo]=max(Period[Rango de Periodo])))
Último Periodo = CALCULAR(suma('Tabla'[Qty]), FILTER(ALL(Period),Period[Rango de Periodo]=max(Period[Rango de Periodo])-1))
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.