Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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:
- however, in the second case, I use another measure because I am also linking the cities from another table:
Would you find any explanation for this difference, and how to get the image for the second case?
Thank you in advance!
Solved! Go to Solution.
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
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.
User | Count |
---|---|
84 | |
78 | |
71 | |
48 | |
42 |
User | Count |
---|---|
111 | |
56 | |
50 | |
41 | |
40 |