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
Tengo dos tablas, donde la tabla A tiene valores únicos y las tablas B (dinámicamente actualizadas) siempre contendrán algunos registros de la tabla A. Tabla A
Tabla B
Cuando hago UNION, obtengo filas duplicadas.
También he intentado usar
Solved! Go to Solution.
Esto se debe a que los valores altos y bajos abiertos tienen alguna diferencia.
Utilice Resumir y tomar min y máximo de eso
Trate como
resumir(UNION(VALUES('Table 2'),VALUES('Table 1')),[Date],"Open",max([Open]),"Low",min([Low]),"High",max([High]))
Esto se debe a que los valores altos y bajos abiertos tienen alguna diferencia.
Utilice Resumir y tomar min y máximo de eso
Trate como
resumir(UNION(VALUES('Table 2'),VALUES('Table 1')),[Date],"Open",max([Open]),"Low",min([Low]),"High",max([High]))
UNION en DAX es lo mismo que UNIONALL en SQL. Envuelva todo el asunto dentro de DISTINCT()
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 |