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
Anonymous
Not applicable

how is image getting bigger and smaller ?

I wanted to know how is image getting bigger and smaller according to the section of region.

 

Link to dashboard  - https://app.powerbi.com/view?r=eyJrIjoiMTJiYThlZWMtZTlkYy00YjFlLTk4YWItNzg5M2I3ZTc3MTBhIiwidCI6IjU3... 

 

 

snips for more understanding 2.JPGCapture.JPG

 

3 ACCEPTED SOLUTIONS
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

We cannot set condiftional formatting of the height of picture directly. However we can create measure like this to work around.

Measure 2 = var a = "https://www.straitstimes.com/sites/default/files/styles/article_pictrure_780x520_/public/st_20170306_wpgarfield_2984786.jpg?itok=yL_f1QKW&timestamp=1488735180"
var b = "http://www.jqueryscript.net/images/Simplest-Responsive-jQuery-Image-Lightbox-Plugin-simple-lightbox.jpg"
return
IF(SUM('Table'[outcomes])>150,a,b)

Capture.PNG

BTW, I cannot access the dashboard you shared, could you please share the pbix to me if you don't have any Confidential Information. Please upload your files to One Drive and share the link here.

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

Anonymous
Not applicable

Hello, 

 

I used a visual called Infographics Designer. 

It makes the image small and big automatically looking the numbers . 

 

thanks 

View solution in original post

Thanks, I found the object and seems perfect 🙂

View solution in original post

5 REPLIES 5
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

We cannot set condiftional formatting of the height of picture directly. However we can create measure like this to work around.

Measure 2 = var a = "https://www.straitstimes.com/sites/default/files/styles/article_pictrure_780x520_/public/st_20170306_wpgarfield_2984786.jpg?itok=yL_f1QKW&timestamp=1488735180"
var b = "http://www.jqueryscript.net/images/Simplest-Responsive-jQuery-Image-Lightbox-Plugin-simple-lightbox.jpg"
return
IF(SUM('Table'[outcomes])>150,a,b)

Capture.PNG

BTW, I cannot access the dashboard you shared, could you please share the pbix to me if you don't have any Confidential Information. Please upload your files to One Drive and share the link here.

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
Anonymous
Not applicable

I have solved that by myself ,but thank you very much for this solution.

I didn't knew this ,learned something new.

Thanks

Hi, Sushant I'm under the same task like yours. Could I ask how you could solve by yourself? Please let me know any step or guide. Thanks. Best Regards, Daniel.
Anonymous
Not applicable

Hello, 

 

I used a visual called Infographics Designer. 

It makes the image small and big automatically looking the numbers . 

 

thanks 

Thanks, I found the object and seems perfect 🙂

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.

Top Solution Authors