Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hola a todos
¿Podría alguien ayudarme con el siguiente escenario, por favor? La fila en blanco debe tener el valor de los meses anteriores como se muestra en la columna esperada.
| Mes | Precio | Resultado esperado |
| Ene | 39 | 39 |
| Feb | 39 | |
| Estropear | 39 | |
| Apr | 40.31 | 40.31 |
| Mayo | 40.31 | |
| Junio | 44.97 | 44.97 |
| Julio | 44.97 | |
| Ago | 47.02 | 47.02 |
| Sep | 49.13 | 49.13 |
| Oct | 49.13 | |
| Nov | 46.2 | 46.2 |
| Dic | 46.2 |
@Sudharsanan - Pruebe esto en los datos de back-end de Power Query - Avíseme si esta solución, luego acéptela como una solución. Muchas gracias
@Sudharsanan - Avíseme si esta solución basada en DAX cumple con sus requisitos, luego publicaré el archivo pbix.
LookupTable = FILTER('Price Table', 'Price Table'[Price] >0)Derived Price =
VAR currmonth = MAXX(FILTER(LookupTable, LookupTable[MonthNumber] <= SELECTEDVALUE('Price Table'[MonthNumber])),LookupTable[MonthNumber])
VAR result = CALCULATE(MAX('LookupTable'[Price]), LookupTable[MonthNumber] = currmonth)
return result
Gracias @Manoj_Nair pero no estoy seguro de a qué se refiere como una tabla de búsqueda aquí. Entonces el archivo PBIX me ayudará?
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.