cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SushantSharma
Helper II
Helper II

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 @SushantSharma ,

 

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

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 @SushantSharma ,

 

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

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.

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

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are You Ready?

Test your skills now with the Cloud Skills Challenge.

Top Solution Authors