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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Dynamic Image by Value

Hey all,

 

I created Image dimension which contains Precentage between 0.1% to 100%, Precentage groups(0, 0-10,10-20...) and URL images:

aOliverz_0-1593382553996.png

How can I connect this dimenssion to Fact table which contains a calculation of Percentage that I want to show alongside this images?

If can't I connect the tables, how can I dynamicaly show the images by the values?

Example: 12% will show the 20% image, 92% will show the 100% image.

 

Thanks 🙂 

1 ACCEPTED SOLUTION
v-lili6-msft
Community Support
Community Support

hi  @Anonymous 

It sounds like a Dynamic Segmentation problem, you need to add two column start and from for each image.

then refer to this blog to create a measure

https://www.daxpatterns.com/dynamic-segmentation/

 

If you still have the problem, please share your sample pbix file and your expected output

 

Regards,

Lin

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

View solution in original post

3 REPLIES 3
v-lili6-msft
Community Support
Community Support

hi  @Anonymous 

It sounds like a Dynamic Segmentation problem, you need to add two column start and from for each image.

then refer to this blog to create a measure

https://www.daxpatterns.com/dynamic-segmentation/

 

If you still have the problem, please share your sample pbix file and your expected output

 

Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
amitchandak
Super User
Super User

@Anonymous , Try creating a measure like this a mark it has URL

 

measure = Switch(True(),
[Percent]>0 && [Percent] =<.10 ,"image1",
[Percent]>.10&& [Percent] =<.20 ,"image2",
"image3"
)

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
lbendlin
Super User
Super User

Create your own theme with custom icons.

 

https://powerbi.tips/2019/07/icons-upon-icons/

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors