Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hello!,
Estoy intentando aplicar esta funcion:
Tiene que sumar una lista empezando por 1 (el primer contador) y que acabe en 37 (el segundo contador). Ambos contadores van cambiando a medida que pasan las semanas, por lo que necesitaría poder referenciar la formula a estas dos "celdas" o "medidas".
He intentado crear una lista con alguna función que he visto, pero me aparece como "no encontrada":
En mi pbi los datos se encuentran asi:
me tendria que sumar la columna dilution hasta la fila numero 22, empezando desde la fila ... (os pongo donde tengo el otro parametro:)
... hasta la fila TL (numero que va cambiando dependiendo del ID).
En resumidas cuentas, lo que necesito que haga es que mire cuánto tiempo en semanas (TL) lleva trabajando el empleado (ID) y que ese valor le diga en qué punto de su LC (horas efectivas de trabajo en una tarea) tiene que empezar a sumar, terminando la suma en la semana 22 (en la que dejaría de trabajar). Esto me daria las horas efectivas de trabajo que le quedan
Hasta ahora las formulas que he buscado no se acercan al offset, ni si quiera en los cursos.
Gracias!
Solved! Go to Solution.
Hi @vallrebe ,
You can try to create a calculated column and get the contents of the previous row through TL sorting. Similar DAX as follows.
col = CALCULATE (
SUM ( 'Table1'[Dilution] ),
FILTER (
'Table',
'Table'[TL]
= EARLIER ( 'Table'[TL] ) - 1
&& 'Table'[ID] = EARLIER ( 'Table'[ID] )
))
If the problem persists, please create pbix with the sample data and share the link, and describe the results you expect.
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @vallrebe ,
You can try to create a calculated column and get the contents of the previous row through TL sorting. Similar DAX as follows.
col = CALCULATE (
SUM ( 'Table1'[Dilution] ),
FILTER (
'Table',
'Table'[TL]
= EARLIER ( 'Table'[TL] ) - 1
&& 'Table'[ID] = EARLIER ( 'Table'[ID] )
))
If the problem persists, please create pbix with the sample data and share the link, and describe the results you expect.
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 76 | |
| 37 | |
| 31 | |
| 27 | |
| 27 |