Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hola amigos,
Tengo una tabla, donde tengo los costos reales por mes. El formato del mes es texto.
Además, tengo una medida, que muestra el mes actual, como "enero".
¿Cómo puedo mostrar los costos reales por mes, donde el mes es igual a "Mes actual"?
Solved! Go to Solution.
@YerlaSDU ¿Podría eliminar +1 e intentar así: -
ActualDateMeasure =
CALCULATE (
[ActualMeasure],
FILTER (
tco_mpa_manpowerplan,
TRIM ( tco_mpa_manpowerplan[tco_mpa_monthname] )
= FORMAT ( MONTH ( TODAY () ), "MMMM" )
)
)
Puedes probar esto: -
Measure =
CALCULATE (
SUM ( 'Table'[Actual Cost] ),
FILTER ( 'Table', 'Table'[Month] = FORMAT ( TODAY (), "MMMM" ) )
)
Gracias
Samarth
De alguna manera, muestra 0. ¿Podría aconsejar, por qué?
@YerlaSDU ¿Podría eliminar +1 e intentar así: -
ActualDateMeasure =
CALCULATE (
[ActualMeasure],
FILTER (
tco_mpa_manpowerplan,
TRIM ( tco_mpa_manpowerplan[tco_mpa_monthname] )
= FORMAT ( MONTH ( TODAY () ), "MMMM" )
)
)
Gracias, funciona para mí.
Sin +1 se muestra para diciembre
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.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
2 | |
2 | |
2 | |
2 | |
1 |