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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors