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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

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.