Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
¡Hola! Por favor, ayúdame a resumir el precio sólo para los primeros hits dentro de las sesiones. Así que ese 3.33 sale, no 16.65.
Solved! Go to Solution.
Hola @ermak ,
Podrías probar esta medida.
Sum for the first occurrence =
CALCULATE (
SUM ( 'Table'[Cost] ),
FILTER (
ALL ( 'Table' ),
[HitID]
= CALCULATE (
FIRSTNONBLANK ( 'Table'[HitID], [HitID] ),
ALLEXCEPT ( 'Table', 'Table'[SessionID] )
)
)
)
El resultado es este.
Puede consultar más detalles desde aquí.
Saludos
Stephen Tao
Si este post ayuda,entonces considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.
Hola @ermak ,
Podrías probar esta medida.
Sum for the first occurrence =
CALCULATE (
SUM ( 'Table'[Cost] ),
FILTER (
ALL ( 'Table' ),
[HitID]
= CALCULATE (
FIRSTNONBLANK ( 'Table'[HitID], [HitID] ),
ALLEXCEPT ( 'Table', 'Table'[SessionID] )
)
)
)
El resultado es este.
Puede consultar más detalles desde aquí.
Saludos
Stephen Tao
Si este post ayuda,entonces considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.
@ermak, asumo que HitId es la sesión mínima que se puede encontrar
calculate( Sum(Table[Cost]), filter( Table,Table[HitId] á min(Table[HitID])), allexcept(Table, Table[SessionID]))
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
Check out the May 2024 Power BI update to learn about new features.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |