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 equipo,
Necesito su ayuda, con respecto a las fórmulas de abajo de la columna,
1) Remaing UID Stock - > Cuando los UID son los mismos, entonces Prod_Total debe resumirse y al mismo tiempo, se debe encontrar la diferencia entre el "Prod_Total" y el "stock" de cada "categoría".
Y esto debería funcionar basado en la segmentación dinámica. por ejemplo: si la segmentación es octubre mes entonces Prod_Total debe calcularse de enero a octubre .
Nota: Prod_Total es Medidas (calcula nueva medida)
Gracias
KV's
Lo sentimos, ha cubierto UID - ¿para qué filas son iguales? ¿Cuántas tablas son los datos sin procesar? Esto se podría hacer con la tabla visual correcta o si se crea una medida:
UID Prod Total - CALCULATE(SUM-Table[Prod_Total]), ALL-Table[Category]))
A continuación, reste eso de la acción en otra o la misma medida. Simplemente no estoy seguro de cuántas mesas tienes y cómo están relacionadas, por lo que puede cambiar ligeramente las cosas.
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
Usted debe ser capaz de hacer como una nueva medida:
Stock de UID restantes - MAX(Table[Stock]) - CALCULATE(SUM(Table[Prod_Total]), ALL(Table[Category]))
o como una nueva COLUMNA:
Remanso de UID- Table[Stock] - SUMX(FILTER(ALL(Table), Table[UID] - EARLIER(Table[UID])), Table[Prod_Total])
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
@Kalidass, intenta como
resto de UID Stock - sum(Table[stock])- calculate(sum(Table[Prod_Total]) , allexcept(Table, Table[UID]))
O
resto de UID Stock á calculate(sum(Table[Prod_Total]) , allexcept(Table, Table[UID])) -sum(Table[stock])
Hola @amitchandak , cómo funcionará con la segmentación dinámica (tabla de fechas, tabla UID separada).
@Kalidass, no muy claro. a mí me parece que
resto de UID Stock á sum(Table[Prod_Total]) -sum(Table[stock])
PO de ACCIONES UID restantes : if([remaining UID Stock]<0, 0, [remaining UID Stock])
Hola @amitchandak ,
esperado basado en UID (mismo ID) prod_total restar por cada fila de categoría sabia..
Gracias
KV's
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 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
2 | |
2 | |
2 | |
1 | |
1 |