Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

show image in static text based on presentation variable

Received Response
11
Views
2
Comments
Rank 1 - Community Starter

Hi,


We are on OAS and I'm trying to show an image in a static text within a report, based on a presentation variable.

My presentation variable can be Jim or Kim (or null).

So what I want is this:

case

when '@{presvar}' = 'Jim'

then <img src="/analyticsRes/customImages/exampleJim.jpg"

when '@{presvar}' = 'Kim'

then <img src="/analyticsRes/customImages/exampleKim.jpg"

end


How can I write this in html?

Thanks for the help!

Answers

Welcome!

It looks like you're new here. Sign in or register to get started.