Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
ashraf_SISL1
Helper II
Helper II

Botón más de información

Hola

En la tabla siguiente, la última columna muestra el resumen que es un párrafo grande para cada contrato.

¿Hay alguna manera, puedo mostrar sólo la primera línea del párrafo y que dar un botón Más información + para ver el resto del resumen.

Si no es el botón Más información+ que, al menos un simple botón maximizar minimizar, si el usuario quiere ver que se abrirá eso.

Untitled.png

saludos

Ashraf

6 REPLIES 6
parry2k
Super User
Super User

@ashraf_SISL1 en pasado creo dos objetos visuales de tabla, uno en la parte superior sin párrafo grande y 2a tabla visual en la misma página con la columna de párrafo, por lo que cuando los usuarios seleccionan una fila en un objeto visual de tabla superior, mostrará el párrafo en la parte inferior, es un aspecto mucho más limpio (en mi opinión), y puede ocultar la tabla de párrafos visual y mostrar solo cuando se selecciona una fila en un objeto visual de tabla superior, puede usar esta técnica para ocultar la 2a tabla visual.

Sólo una idea.

Me gustaría elogiossi mi solución ayudara.👉Si puedes pasar tiempo publicando la pregunta, también puedes hacer esfuerzos para dar 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.

Mariusz
Community Champion
Community Champion

Hola @ashraf_SISL1

Puede crear una tabla de parámetros what-if como a continuación.
image.png

A continuación, cree una medida como la siguiente que le permitirá cambiar entre ambos estados y manipular la longitud de la cadena

Product Description = 
VAR __productDescription = SELECTEDVALUE ( 'Product'[ProductDescription] )
RETURN 
SWITCH(
    SELECTEDVALUE( showHideProductDesc[showHideProductDesc] ),
    0, LEFT( __productDescription, 10 ) & "...",
    1, __productDescription
)

Por último, agregue la medida a la tabla y utilice el control deslizante para cambiar entre las opciones, como se muestra a continuación.

image.pngCompletoimage.pngCorto

Saludos
Mariusz

Si este post ayuda, entonces considere aceptarlo como la solución.

Por favor, siéntase libre de conectarse conmigo.
Linkedin

@Mariusz lo que quiere decir con"tabla de parámetros what-if", sólo podemos crear un parámetro no tabla.

Solicite que lo describa por favor.

Gracias...

Hola @ashraf_SISL1

Lo sentimos por no ser lo suficientemente claro, la siguiente captura de pantalla explicará lo que quise decir con la "tabla de parámetros qué-if".

image.png

Lo anterior creará una tabla que más adelante se puede expandir con una columna adicional con if instrucción como.

Show Short or Full Description = IF( showHideProductDesc[showHideProductDesc] = 0, "Short", "Full")

Y más tarde sólo tiene que añadir la medida proporcionada en mi post anterior.

Saludos
Mariusz

Si este post ayuda, entonces considere aceptarlo como la solución.

Por favor, siéntase libre de conectarse conmigo.
Linkedin

@ashraf_SISL1 Quiere decir crear una tabla según la imagen que mostró.



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.

amitchandak
Super User
Super User

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.