Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hola a todos,
Estoy un poco atascado, estoy seguro de que es algo muy simple, simplemente no puedo entenderlo o estoy tratando de complicarlo demasiado. Espero que puedas ayudar.
Tengo una Mesa De Empleado con Empno. y su fecha de inicio que es mi tabla Dim, luego tengo otro sistema para medir la incorporación completada y fecha restar con su Empno. (la tabla de hechos). Todo lo que necesito hacer es comprobar si el registro existe en la tabla de hechos. ¿Cuál es la mejor manera de hacer esto? Estoy atrapado en el excel vlookup thinking.
He hecho una combinación en Power Query, pero no creo que esta sea la manera correcta?
¡Gracias!
Solved! Go to Solution.
Puede hacerlo usando lookupvalue o maxx en este caso
Nueva columna en Empleado1
Onboarding maxx(filter(onboarding,onboarding[Emp ID] ? emp[Emp ID] ), incorporación [fecha de incorporación])
Otros ejemplos
Nueva columna en la Tabla 1 - maxx(filter(table2,table1[customer] - table2[customer] && table2[option]-"construction",table2[value])
Nueva columna en la Tabla 1 - maxx(filter(table2,table1[Attribute] - table2[name] && table1[project] ? table2[project]),table2[name])
https://docs.microsoft.com/en-us/dax/lookupvalue-function-dax
nueva Columna ?
LOOKUPVALUE('Shops Products'[Lot No.], 'Shops Products'[Entry Type], "Output", 'Shops Products'[Document No.], firstnonbank('Shops Products'[Document No.],true()))
Hola @NoelGrieve,
También puede probar la siguiente función para crear una tabla:
¡Gracias! Voy a dar ambas opciones una oportunidad, pero estoy seguro de que ambos funcionarán!
¡Gracias de nuevo!
Hola @NoelGrieve,
También puede probar la siguiente función para crear una tabla:
Puede hacerlo usando lookupvalue o maxx en este caso
Nueva columna en Empleado1
Onboarding maxx(filter(onboarding,onboarding[Emp ID] ? emp[Emp ID] ), incorporación [fecha de incorporación])
Otros ejemplos
Nueva columna en la Tabla 1 - maxx(filter(table2,table1[customer] - table2[customer] && table2[option]-"construction",table2[value])
Nueva columna en la Tabla 1 - maxx(filter(table2,table1[Attribute] - table2[name] && table1[project] ? table2[project]),table2[name])
https://docs.microsoft.com/en-us/dax/lookupvalue-function-dax
nueva Columna ?
LOOKUPVALUE('Shops Products'[Lot No.], 'Shops Products'[Entry Type], "Output", 'Shops Products'[Document No.], firstnonbank('Shops Products'[Document No.],true()))
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.