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 a todos
Quiero tener un gran total de valores máximos
Así es como se ve el conjunto de datos
a veces tengo 2 fechas, a veces 3 fechas, pero el objetivo tiene que ser el mismo, por lo tanto, estoy luchando para utilizar las funciones "x", como sumx y maxx.
no sé si esto está hinchado, me hizo trabajar con este
Me olvidé de resumir antes
Hola @luisClive
puedes hacerlo así:
Sum of Distinct Target Hours =
VAR _Sum = SUM('Table'[Target Hours])
VAR _Table = DISTINCT('Table'[Target Hours])
RETURN
IF(ISINSCOPE('Table'[Date]),_Sum, SUMX(_Table,'Table'[Target Hours]))
Con saludos amables desde la ciudad donde la leyenda del 'Pied Piper de Hamelin' está en casa
FrankAT (Orgulloso de ser un Datanaut)
@luisClive Thanks,
I believe you have many fields with different values on each record, in this case, we have calculated by not considering the other fields except the required fields like 'date' & 'Target Hours'
SUMX (
SUMMARIZE ( Maxhours, Maxhours[Date], "Hours", MAX ( Maxhours[Target hours] ) ),
[Hours]
)
Hope this helps,
MS
@msksenthil tnks me permiten probar la función Summarize, déjame comprobarlo
@FrankAT gracias, no he usado inscope antes, yo compruebo esto también
@luisClive puede probar lo siguiente
tnks
He intentado esto antes, ya que todos los valores son distintos, sólo que algunos datos faltan todos los días y quiero poner max independientemente
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 | |
2 | |
2 | |
2 | |
1 |