Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Estimados todos,
por favor, tengo el siguiente conjunto de datos y me gustaría medir la suma acumulada por mes de [YTD_in/out]_
Pruebo la siguiente estructura:
Dónde LastM = SELECTEDVALUE('Proyección Y'[Mes])
pero la Columna [Colonna] no mostró ningún resultado, sino también ningún error.
Por favor, ¿cómo puedo resolverlo?
Por favor, utilice
=
VAR LastM = 'Y Projection'[Month]
VAR CurrentDepTable =
CALCULATETABLE (
'Y Projection',
ALLEXCEPT ( 'Y Projection', 'Y Projection'[Department] )
)
RETURN
SUMX (
FILTER ( CurrentDepTable, 'Y Projection'[Month] <= LastM ),
'Y Projection'[YTD_IN/OUT]
)
Gracias Tamerj1,
Está bien y el valor es exacto!!!!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.