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
Tengo la siguiente tabla calculada.
Esa tabla se genera con la siguiente medida.
La columna "Modo" no se agrupó por "master_product_id" ni por "year_week relacionados"
Pensé en usar GROUPBY pero parece que no es compatible con MEDIANX
Me gustaría saber si hay una manera de hacerlo.
Solved! Go to Solution.
@Yeztrom , Esto tomará la columna completa, Intente como
Si es necesario, use agregar columnas para agregar la columna siguiente
VAR _VW_Prices_Mode_Clear =
RESUMIR(
_VW_Prices_Mode,
[master_product_id],
[year_week relacionados],
"precio",[product_current_price]
)
Nueva columna = MEDIANX(filter(Table, [master_product_id] = earlier([master_product_id]) && [related year_week] = earlier([related year_week]) ), [Price])
o
Nueva columna = MEDIANX(filter,, [related year_week] = earlier([related year_week]) ), [Price])
@Yeztrom , Esto tomará la columna completa, Intente como
Si es necesario, use agregar columnas para agregar la columna siguiente
VAR _VW_Prices_Mode_Clear =
RESUMIR(
_VW_Prices_Mode,
[master_product_id],
[year_week relacionados],
"precio",[product_current_price]
)
Nueva columna = MEDIANX(filter(Table, [master_product_id] = earlier([master_product_id]) && [related year_week] = earlier([related year_week]) ), [Price])
o
Nueva columna = MEDIANX(filter,, [related year_week] = earlier([related year_week]) ), [Price])
Gracias
La solución fue: