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
Estoy recibiendo un error
para las medidas:
Tengo una consulta sql como abajo :
SELECCIONE el top 10 "wo"." WORKORDERID" COMO "ID de solicitud",
"aau"." FIRST_NAME" COMO "Requester",
"ti"." FIRST_NAME" COMO "Técnico",
"wo"." CREATEDTIME" COMO "Tiempo creado"
DESDE "WorkOrder" "wo" IZQUIERDA UNIRSE "SDUser" "sdu"
EN "wo"." REQUESTERID"-"sdu"." USERID"
IZQUIERDA UNIRSE a "AaaUser" "aau" EN "sdu"." USERID""aau"." USER_ID"
IZQUIERDA UNIRSE a "WorkOrderStates" "wos" EN "wo"." WORKORDERID"-"wos"." WORKORDERID"
IZQUIERDA UNIRSE a "SDUser" "td" EN "wos"." OWNERID""td"." USERID"
IZQUIERDA UNIRSE a "AaaUser" "ti" EN "td"." USERID""ti"." USER_ID"
Para obtener el valor Technicial , tengo que crear userrelationship() pero no funciona.
Por favor, ay den asistencia.
Gracias
Solved! Go to Solution.
@suvechha, necesita tener alguna operación como , min , max , count , sum
SDUserId - CALCULATE(
Count(SDUser[USERID]),
USERELATIONSHIP(WorkOrderStates[OWNERID], SDUser[USERID])
)
para obtener el top 10, usar topn o rango
Para rango Consulte estos enlaces
https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures
https://radacad.com/how-to-use-rankx-in-dax-part-1-of-3-calculated-columns
https://radacad.com/how-to-use-rankx-in-dax-part-3-of-3-the-finale
https://community.powerbi.com/t5/Community-Blog/Dynamic-TopN-made-easy-with-What-If-Parameter/ba-p/3...
Hola , @suvechha
Intente utilizar FIRSTNONBLANK(SDUser[USERID], 1) en lugar de SDUser[USERID].
Saludos
Equipo de soporte de la comunidad _ Eason
@suvechha, necesita tener alguna operación como , min , max , count , sum
SDUserId - CALCULATE(
Count(SDUser[USERID]),
USERELATIONSHIP(WorkOrderStates[OWNERID], SDUser[USERID])
)
para obtener el top 10, usar topn o rango
Para rango Consulte estos enlaces
https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures
https://radacad.com/how-to-use-rankx-in-dax-part-1-of-3-calculated-columns
https://radacad.com/how-to-use-rankx-in-dax-part-3-of-3-the-finale
https://community.powerbi.com/t5/Community-Blog/Dynamic-TopN-made-easy-with-What-If-Parameter/ba-p/3...
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 |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |