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.
todo
Estoy buscando ayuda sobre cómo combinar algunos datos en una tabla de resumen. La razón principal es ser capaz de asignar todo en una visualización del calendario y luego hacer clic en los días y ver las actividades clave de esos días. Estoy viendo la combinación realmente de sólo cuatro campos de 2+ tablas en una tabla de resumen que incluye estos campos, una columna con la tabla de origen enumerada. Tres de los campos siempre serían los mismos (fecha, cliente, empleado), el tercero variaría según la tabla, pero siempre sería texto, y el cuarto campo registraría la tabla de origen para los datos de resumen que quiero para que pueda filtrar por tipo de actividad.
Este puede ser un ejemplo de las tablas de origen y la tabla de salida:
Solved! Go to Solution.
@jeggen no sabe el propósito de esto, pero aquí está, agregue la siguiente expresión como tabla calculada
Summary =
UNION (
SELECTCOLUMNS ( Contract, "Date", Contract[Date], "Client", Contract[Client], "Employee", Contract[Employee], "Details", FORMAT ( Contract[Contract Amount], "General Number" ), "Source Table", "Contract" ),
SELECTCOLUMNS ( Interactions, "Date", Interactions[Date], "Client", Interactions[Client], "Employee", Interactions[Employee], "Details", Interactions[Summary], "Source Table", "Interactions" ),
SELECTCOLUMNS ( Payments, "Date", Payments[Date], "Client", Payments[Client], "Employee", Payments[Employee], "Details", FORMAT ( Payments[Amount], "General Number" ), "Source Table", "Payments" )
)
aquí es donde se agrega la expresión anterior
Me💖 Kudos 🙂 si mi solución me ayudara. Si puedes pasar tiempo publicando la pregunta, también puedes hacer esfuerzos para darle a Kudos quien haya ayudado a resolver tu problema. ¡Es una muestra de agradecimiento!
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@jeggen pegue algunos datos de muestra y la salida esperada.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Aquí hay algunas tablas de ejemplo en Excel: Tenga en cuenta que todas las tablas tienen más datos de los que necesito en la tabla de resumen, por lo que no es tan simple como combinar todos los datos y también necesita crear la columna "tabla de origen", que me dice cuál es la entrada.
Contratos | ||||
Fecha | Cliente | Empleado | Importe del contrato | Producto |
1/1/2020 | ABC Inc | Joe | $10,000 | Madera |
3/1/2020 | XYZ Inc | María | $50,000 | Metal |
4/5/2020 | Tinta LMN | Sam | $5,000 | Plástico |
Interacciones | ||||
Fecha | Cliente | Empleado | Resumen | Estado |
2/15/2020 | ABC Inc | Joe | Llamado a agradecer por el orden | íntegro |
3/12/2020 | LMN Inc | Sam | Llamado para preguntar sobre el contrato | íntegro |
5/15/2020 | 123 Inc | María | Recuerde comprobar el contrato | Pendiente |
Pagos | ||||
Fecha | Cliente | Empleado | Cantidad | |
1/1/2020 | ABC Inc | Joe | 10,000 | |
1/25/2020 | XYZ Inc | María | 15,000 | |
Tabla de resumen | ||||
Fecha | Cliente | Empleado | Detalles | Tabla de fuentes |
1/1/2020 | ABC Inc | Joe | 10,000 | Pagos |
1/25/2020 | XYZ Inc | María | 15,000 | Pagos |
2/15/2020 | ABC Inc | Joe | Llamado a agradecer por el orden | Interacciones |
3/12/2020 | LMN Inc | Sam | Llamado para preguntar sobre el contrato | Interacciones |
5/15/2020 | 123 Inc | María | Recuerde comprobar el contrato | Interacciones |
1/1/2020 | ABC Inc | Joe | $10,000 | Contratos |
3/1/2020 | XYZ Inc | María | $50,000 | Contratos |
4/5/2020 | Tinta LMN | Sam | $5,000 | Contratos |
@jeggen no sabe el propósito de esto, pero aquí está, agregue la siguiente expresión como tabla calculada
Summary =
UNION (
SELECTCOLUMNS ( Contract, "Date", Contract[Date], "Client", Contract[Client], "Employee", Contract[Employee], "Details", FORMAT ( Contract[Contract Amount], "General Number" ), "Source Table", "Contract" ),
SELECTCOLUMNS ( Interactions, "Date", Interactions[Date], "Client", Interactions[Client], "Employee", Interactions[Employee], "Details", Interactions[Summary], "Source Table", "Interactions" ),
SELECTCOLUMNS ( Payments, "Date", Payments[Date], "Client", Payments[Client], "Employee", Payments[Employee], "Details", FORMAT ( Payments[Amount], "General Number" ), "Source Table", "Payments" )
)
aquí es donde se agrega la expresión anterior
Me💖 Kudos 🙂 si mi solución me ayudara. Si puedes pasar tiempo publicando la pregunta, también puedes hacer esfuerzos para darle a Kudos quien haya ayudado a resolver tu problema. ¡Es una muestra de agradecimiento!
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
El propósito es integrar un par de tablas diferentes en un resumen de alto nivel e incluirlas todas en una vista de calendario. ¡Esto funcionó perfecto!
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 |