Showing results for 
Search instead for 
Did you mean: 
Community Team Member
Community Team Member
This post is from one of our customers!
This post is from one of our customers!
Use this case statement in a snippet with a rating parameter to change numerical ratings to stars:
  when ROUND([rating]) = 5
    then '★★★★★'
  when ROUND([rating]) = 4
    then '★★★★☆'
  when ROUND([rating]) = 3
    then '★★★☆☆'
  when ROUND([rating]) = 2
    then '★★☆☆☆'
  when ROUND([rating]) = 1
    then '★☆☆☆☆'
  else null
Version history
Last update:
‎03-02-2023 09:31 AM
Updated by:
Community Toolbox

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

Developers Group:

Product Feedback Forum:

Need additional support?:

Submit a Support Request

The Legal Stuff

Have a question about the Sisense Community?

Email [email protected]

Share this page: