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.
Espero usar la visualización Matrix para una solicitud de informes, pero ahora creo que no funcionará para lo que necesito. Me pregunto si es posible "voltear" la jerarquía de columnas para que las medidas similares se agrupen dentro de las categorías de columna más amplias.
Tengo un conjunto de datos de origen que tiene este aspecto:
Rango de edad | Fecha | Transacciones | Unidades | Dólares |
20-29 | 2020-08-01 | 43 | 48 | $1,245 |
30-39 | 2020-08-01 | 1,239 | 1,511 | $3,677 |
40-49 | 2020-08-01 | 158 | 180 | $450 |
etcetera | etcetera | etcetera | etcetera | etcetera |
La matriz predeterminada me da esto:
Rango de edad | 20-29 | 30-39 | 40-49 | ||||||
Fecha | Transacciones | Unidades | Dólares | Transacciones | Unidades | Dólares | Transacciones | Unidades | Dólares |
2020-08-01 | 43 | 48 | $1,245 | 1,239 | 1,511 | $3,677 | 158 | 180 | $50 |
Lo que necesito es esto:
Transacciones | Unidades | Dólares | |||||||
Rango de edad | 20-29 | 30-39 | 40-49 | 20-29 | 30-39 | 40-49 | 20-29 | 30-39 | 40-49 |
2020-08-01 | 43 | 1,239 | 158 | 48 | 1,511 | 180 | $1,245 | $3,677 | $50 |
Pensé en ver si me falta algo. Estoy usando Consulta directa, por lo que puedo imaginar una manera de hacerlo, pero implicaría muchas medidas nuevas y probablemente llamadas de consulta individuales a mis datos de origen. Esperando que alguien tenga una solución. ¡Gracias!
Solved! Go to Solution.
@MarkEvansHW , Si desea la columna a continuación medir que no es posible.
Si necesita medida en la fila - Puede mostrar en la fila
https://www.burningsuit.co.uk/blog/2019/04/7-secrets-of-the-matrix-visual/
@MarkEvansHW , Si desea la columna a continuación medir que no es posible.
Si necesita medida en la fila - Puede mostrar en la fila
https://www.burningsuit.co.uk/blog/2019/04/7-secrets-of-the-matrix-visual/
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
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 |
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |