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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Bimbone
Helper I
Helper I

Different behaviour of URL Image field in multi-row card visual

Hello, 

I have a strange condition for the utilization of the same Image URL field  in two different multi-row cards visuals.

The field is "Flag" in the table "Country_numbers" and is called by two different measures:

- in the first case, I have the below measure:

FlagValue =
VAR PippoValue = [VincitoreCampContPaesi]
RETURN
    CALCULATE(
        MAX(Country_numbers[Flag]),
        Country_numbers[NomePaeseAnno] = PippoValue
    )
and you can see the results in the visual, which is ok
Bimbone_0-1744103152656.png

- however, in the second case, I use another measure because I am also linking the cities from another table:

FlagVincCampSubCont =
VAR PlutoValue = CALCULATE(DISTINCT(Cities_numbers[Country_ref]), Cities_numbers[Ranking_cont_lvl1_aux]=1)
RETURN
    CALCULATE(
        MAX(Country_numbers[Flag]),
        Country_numbers[NomePaeseAnno]=PlutoValue
    )
but in this other visual the link is displayed as a text, and not as an image:
Bimbone_1-1744103278061.png

 

Would you find any explanation for this difference, and how to get the image for the second case?

Thank you in advance!

1 ACCEPTED SOLUTION
AnkitaaMishra
Super User
Super User

Hi @Bimbone ,

Have you tried changing the data category of this measure to Image URL?
WhatsApp Image 2025-04-08 at 14.47.48.jpeg
Thanks,

Ankita

View solution in original post

5 REPLIES 5
shafiz_p
Super User
Super User

Hi @Bimbone ,
Try changing data category to image url.

 

One issue is, distinct return a one column table but CALCULATE function expects a scalar value for comparison. This can cause the measure to not evaluate correctly. To fix this, you should ensure that PlutoValue returns a single value.

Thanks,

 

Shahariar Hafiz

AnkitaaMishra
Super User
Super User

Hi @Bimbone ,

Have you tried changing the data category of this measure to Image URL?
WhatsApp Image 2025-04-08 at 14.47.48.jpeg
Thanks,

Ankita

Hi @AnkitaaMishra ,

great, yes, it works!

I did not realize you can change the data category of a measure,  I thought it was using automatically the ones of the fields..

Can I please ask you another question: is there any way to change the size of an image in a multi-row card? 

Hi @Bimbone ,

As far as I know, the multi-row card visual doesn't provide an option to resize image size directly.
However, you can create an SVG code within a DAX measure to define the image size and then use it in a matrix visual as an alternative.

 

Hi @AnkitaaMishra ,

 

thank you for your suggestion, I will try to have a look at this svg option

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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