cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Kadiri
Regular Visitor

Countries + Names

Dear community,

 

I'm getting images from URL in my table but i want to get like this in the Grid (flag+Name of Country):

Kadiri_0-1645626413190.png

This is where i am at so far:

Kadiri_1-1645626493506.png

 

Thank you in advance,

1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

No, the problem is not a limitation of the visual but the way a tabular model handles data types on fields.  In order to get the image the data type must be web url.  If you try to combine it with a country name the field type becomes text and the image is not retrieved.

View solution in original post

5 REPLIES 5
Hafsa_Lharrak
New Member

Hi i can't find my country "Morocco" in the dashborad countries list whenver i select africa as a region.

Can you please help ?

@Hafsa_Lharrak 

Perhaps there is no data for Morocco in the measure that is being displayed so the row does not show up.

jdbuchanan71
Super User
Super User

No, the problem is not a limitation of the visual but the way a tabular model handles data types on fields.  In order to get the image the data type must be web url.  If you try to combine it with a country name the field type becomes text and the image is not retrieved.

jdbuchanan71
Super User
Super User

@Kadiri 

According to the answer on this post it is not possible to combine an image and text into a single field because of the different data types.  You will have to put the country name in a different field right next to the flag.

https://community.powerbi.com/t5/Desktop/Matrix-with-Image-and-Text/td-p/1680338

 

Thank you. is there a vizual that can help achieve the desired output, apart from that?

 

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors