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
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
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.