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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
ero
Frequent Visitor

Display Dynamic URL Images

Hi,

I’m trying to make a dynamic image display card using THREE images. I ran across SQLJason on how to do this but haven’t been able to make the necessary adjustments to work with three images. It works nicely with two.Being new to dax is really a pain, since the examples I found on the subject are not very clear.

 

I have two tables. The first one has the data I’m using. The second, three URLs and the names of the images I want to display. As I said, i´m using SQLJason Measure:

 

Test = SUMX(VALUES(Imag[State]), SWITCH(Imag[State], "Image1", IF(CALCULATE(SUM(Table1[Measure]))>95,1,0), IF(CALCULATE(SUM(Table1[Measure]))>95,0,1)))

 

QUESTION: How do I change the above to include a condition for a third image?

 

I’m lost, suggestions please.

1 ACCEPTED SOLUTION

Sorry for not answering sooner, but 1) I managed to solve it onn my own, 2) I thought I would get an email every time someone left me a post, but this didn't happen. Thank you for taking the time to look at my request. 

View solution in original post

3 REPLIES 3
v-frfei-msft
Community Support
Community Support

Hi @ero ,

 

That's cool, then could you please mark your answer as a solution to close the case please?

 

Regards,

Frank

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

Hi @ero ,

 

Could you please share your sample data and excepted result to me, if you don't have confidential data? Please upload your file to One Drive and share the link here.

 

Regards,

Frank

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

Sorry for not answering sooner, but 1) I managed to solve it onn my own, 2) I thought I would get an email every time someone left me a post, but this didn't happen. Thank you for taking the time to look at my request. 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.