If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Five star rating

Started by pradeepbi25, 15 Oct 2014 07:02:12 AM

Previous topic - Next topic

pradeepbi25

Hi

I have a data item which gives singleton value from 0 to 5 i.e., a five star rating.
ex: 4.85 , 4.35, 3.75

Now I need to convert these values to five star rating graph.
For example, if I get 4.5 from my data item I need to display 4 stars and one half star.

BigChris

Hi - I don't know if this meets your requirement, but if it was me I'd round the value to the nearest half star so that you end up with ten possible outcomes. Then create those ten images and display the right one depending on the value of your measure.

If you don't do it that way you're going to have to find a way to partially fill a star...what woud you display for a score of 4.63 for example?

pradeepbi25

Hi Thanks for your reply.
For 4.63 I need to display 4 stars and one star with 60% filled.
I cannot round it to 4.5 or 5.

Lynn

Maybe RAVE visualizations are the way to go. There are pre-defined ones on analytics zone or you can create your own. I haven't worked with this yet, but perhaps this points you in the right direction. I can't think of another way beyond the approach BigChris offered.

https://www.analyticszone.com/homepage/web/displayMarketplacePage.action#search/-/:Visualization

BigChris

So create nine images for 0.1 - 0.9 stars. Work out how many whole stars to display and display the right partial star next to it.