Showing results for 
Search instead for 
Did you mean: 
Community Team Member
Community Team Member
We have created a Blox template named Rate to display simple conditional image base off data value
This is for the simple use case where an image is conditionally displaying base off the rate given from the panel data. As the panel data change, it will change the corresponding image.
We can also display with carousal off shown as above or on shown as below
I have also added a gif image as a background to display BloX functionality with gif.
The condition is define in the beginning of the json code. 
This gives a clear definition on which image to use when the number are within each range.
The class "conditional_data" is then set above the text value of your container as well as the class "conditional_image is set above the image url tag that you want to display

Installation Instructions:

1. Download the attached template
2. Click the 3dots on the right in a Blox widget, click import template and drag it in.
3. You should now be able to see and choose the new template.
If you cannot see the template in the All Templates menu, please restart the Sisense.blox service on your Sisense server.
4. Populate the Items and Values panels with relevant fields and aggregations. Please note that any change in panel item names should be reflected in the card editor.
Version history
Last update:
‎03-02-2023 08:33 AM
Updated by:
Community Toolbox

Recommended quick links to assist you in optimizing your community experience:

Product Feedback Forum:

Need additional support?:

Submit a Support Request

Sisense Privacy Policy