cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
ero Frequent Visitor
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

Accepted Solutions
ero Frequent Visitor
Frequent Visitor

Re: Display Dynamic URL Images

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
Community Support Team
Community Support Team

Re: Display Dynamic URL Images

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.
ero Frequent Visitor
Frequent Visitor

Re: Display Dynamic URL Images

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

Community Support Team
Community Support Team

Re: Display Dynamic URL Images

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.

Helpful resources

Announcements
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

January 2020 Community Highlights

January 2020 Community Highlights

Make sure you didn't miss any of the things that happened in the community in January!

Top Solution Authors