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 el requisito de lo siguiente:
tenemos una mesa :
A1 | A2 | A3 | M1 | M2 | M3 |
tenemos que dar al usuario la posibilidad de seleccionar A1, A2,A3 para mostrar en la tabla o no.
Encontré este enlace :https://community.powerbi.com/t5/Desktop/Select-columns-to-show-on-table-visual/m-p/606363/highlight...
Pero en este vínculo los atributos (A1, A2,A3 ) se pusieron filas, pero los necesito como columna.
Agradezco cualquier sugerencia y ayuda en este problema.
Gracias.
saludos
Mañana
Gracias @AllisonKennedy por la solución.
Sigo los pasos, pero el valor de la medida es siempre 0! y la solución no funciona.
aquí están mis mesas :
y creé la medida de la siguiente manera:
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
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
@AllisonKennedy, incluso con Top 1 no funciona.
aquí está el resultado, como se podría ver la medida devuelve 1 para A1, A2, A3 (que quiero ser selacteble), y 0 para M1, M2 y M3.
y de hecho Slider no hace nada .
Seguro que hice algo mal, pero no pude encontrarlo 😞
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
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
@Matsa , ver si esto puede ayudar a
https://www.youtube.com/watch?v=6jeSIRpjv0M
para medir
Gracias @amitchandak, es muy útil, pero todavía hay un problema.
Necesito hacer A1, A2, A3 seleccionable y mostrar siempre M1 y M2 y M3 .
Pero cuando agregué M1, M2 y M3 a Matrix como columnas, no se agregan a la matriz.
¿tiene alguna sugerencia para resolver este problema?
lo siento tal vez mis preguntas son tan básicas, porque soy principiantes en Power BI
saludos
Mañana
Hola @Matsa ,
¿Qué problema has conocido? Sólo tienes que hacer esto.
1. Despotable las columnas.
2. Agregue las columnas a la matriz.
Saludos
Lionel Chen
Si este post ayuda,entonces considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.
Gracias @v-lionel-msft por la explicación,Pero esto no es lo que necesito.
Tengo una mesa como esta:
C | A1 | A2 | A3 | M1 | M2 | M3 |
y necesito mostrarlo tal como es, pero necesito poner un control deslizante con el fin de dar la posibilidad de seleccionar o no seleccionar A1, A2, A3.
Despbí las columnas A1,A2 y A3.
Pongo el atributo como un control deslizante y en Matrix:
C,M1,M2,M3 como ROWS
Atributo como columnas
Valores: primer valor
Pero mi resultado es así:
C | M1 | M2 | M3 | A1 | A2 | A3 |
y A1, A2 y A3 son seleccionables.
¿Tiene alguna sugerencia para resolver mi problema?
Gracias de antemano.
saludos.
Mañana
Hola @Matsa ,
Intente despivot A1, A2 y A3 columnas, entonces, usted puede conseguir una tabla de este tipo.
Y agregue columnas a la matriz.
Saludos
Lionel Chen
Si este post ayuda,entonces considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.
Gracias @v-lionel-msft ,los pasos que usted mencionó es lo que hice ( como expliqué antes), pero el resultado no es similar a lo que quiero, necesito el resultado de la siguiente manera:
C | A1 | A2 | A3 | M1 | M2 | M3 |
saludos
Mañana
@Matsa Es un poco poco convencional, pero se puede tratar de despivot todas las columnas A y M, por lo que se queda con:
C, Atributo, Valor
Cree también una tabla desconectada (sin relaciones con el modelo de datos actual) para los valores M que desea que el usuario seleccione. Llamé a esta mesa Slicer.
Cortar:
Seleccione |
M1 |
M2 |
M3 |
A continuación, cree la matriz con C en Filas, Atributo en columnas, Valor en valores.
Por último, cree esta medida para filtrar el atributo:
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 |