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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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