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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Machercoles
Frequent Visitor

iconos png en tablas

Hola buienas tardes, alguien ha puesto iconos en las tablas ?

 

Tengo una tabla con los estado : Anulada, Finalizada, En tramite.

 

Estoy componiendo una tabla informe con campos de otras dimensiones y ademas es estado de esta tabla.

 

El problema es que quisiera sustituir el estado por un icono 

pero no quiero que el icono este en una carpeta de red, ni en una url .

Quisiera que estubiera incrustado com o una nueva columna en la taba desde powebi.

Ya que mi etl no traerá este dato , sera un añadido a posteriori.

Asi es que supongo que habra que hacerlo desde el editor o desde el lenguaje dax.

alguien sabe como hacerlo?

 

Gracias por adelantado

 

2 ACCEPTED SOLUTIONS

Los puedes agregar a tu reporte como imágenes entonces, pero no dentro de una tabla. Para hacer eso, tendrías que cargar tus imágenes a una carpeta en la nube (Sharepoint, OneDrive, Google Drive, etc.) Obtener sus links de archivo y crear una tabla para pegar esos links y relacionar los datos con los que tienes.





Did I answer your question? Give your kudos and mark my post as a solution!

Proud to be a Super User!





View solution in original post

Hi @Machercoles 

 

Just as @ray_aramburo said that you can add them to your report as images then, but not within a table.

Maybe you can try to customize the conditional formatting icon, here are the detailed steps for your reference:

Tutorial Power BI: Iconos personalizados en Formatos condicionales - Vandalytic - tu blog de Power B...

 

Best Regards

Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

6 REPLIES 6
v-zhengdxu-msft
Community Support
Community Support

Hi @Machercoles 

 

Just as @ray_aramburo said that you can use unichar() function to add icons in table, please allow me to provide detailed steps:

First of all, I create a set of sample:

vzhengdxumsft_0-1713509122216.png

Then add a measure:

_status = 
SWITCH(
    MAX('Table'[Status]),
    "E",UNICHAR(128308),
    "F",UNICHAR(128309),
    "G",UNICHAR(11093),
    "H",UNICHAR(11088)
    )

The result is as follow:

vzhengdxumsft_1-1713509164222.png

Link of unichar():

UNICHAR function (DAX) - DAX | Microsoft Learn

Link of unicode emoji:

Emoji unicode characters for use on the web (timwhitlock.info)

 

You need to transform the hex to dec:

vzhengdxumsft_2-1713509264451.png

 

Best Regards,

Zhengdong Xu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

el problema esta en que tengo mis propios png en una carpeta local, pero quisiera que se incrustaran en el pbix.

O sea, que lo abras donde lo abras el png se vea

 

ray_aramburo
Super User
Super User

Puedes utilizar UNICHAR() con DAX o Character.FromNumber en Power Query para agregar un carácter. Puedes revisar si alguno de esta lista te sirve y utilizas ese número dentro de las funciones. También, la UI de Power BI de formato condicional tiene varios íconos estándar que te pueden servir.

En caso de que ninguno te sirva, necesariamente tendrías que cargar una tabla que contenga ligas Web a una imagen. 





Did I answer your question? Give your kudos and mark my post as a solution!

Proud to be a Super User!





el problema esta en que tengo mis propios png en una carpeta local, pero quisiera que se incrustaran en el pbix.

O sea, que lo abras donde lo abras el png se vea

Hi @Machercoles 

 

Just as @ray_aramburo said that you can add them to your report as images then, but not within a table.

Maybe you can try to customize the conditional formatting icon, here are the detailed steps for your reference:

Tutorial Power BI: Iconos personalizados en Formatos condicionales - Vandalytic - tu blog de Power B...

 

Best Regards

Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Los puedes agregar a tu reporte como imágenes entonces, pero no dentro de una tabla. Para hacer eso, tendrías que cargar tus imágenes a una carpeta en la nube (Sharepoint, OneDrive, Google Drive, etc.) Obtener sus links de archivo y crear una tabla para pegar esos links y relacionar los datos con los que tienes.





Did I answer your question? Give your kudos and mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.