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

Tableau style Tooltips

Started by Cognos10x, 21 Jul 2015 11:33:42 PM

Previous topic - Next topic

Cognos10x

 Hi everyone,

  As you might know tableau tool has a good options for tooltips unlike Cognos. There are workarounds to add tooltips which are dynamic in nature. But that's just works for one attribute not for multiple attributes. I found this interesting online resource to do this. But like I mentioned it only works for single attributes not multiple attributes (http://www.bistech.com.au/static-dynamic-tooltips-in-report-studio/).

I need to show multiple attributes like when the user hover overs the product column, I want to show 5 different attributes related to that product which are pulled from underlying data (so its dynamic).

I have the screenshot of the tableau tooltip display. Is there any work around  to achieve this in Cognos? Your suggestions and options would be of great help.
http://screencast.com/t/o7dqz2sGR


Thank You so much. :)

(P.s I am on 10.2.2 version)


bdbits

Interesting tip, I had never run across that idea before. So you should be able to replace where they have [Query item] with an arbitrary report expression.

'<span title=" ' +[Query item1] + ' - ' + [Query item2] + '">'

I have not tried this and do not have time just now, but based on the article I think it will work.

Cognos10x


This works great!. But I need to have this in a separate line. like...
Line1 [Query item1]
Line2 [Query item2]
Line3 [Query item3]

Can we do this?

Than You

bdbits

As far as I know embedding HTML inside a title attribute will not be rendered as HTML, just treated as text. I googled a bit on HTML tooltip, and you could probably build an expression that built a table or <p> for each row, then attach that result to the data item as a tooltip using javascript. There are javascript libraries to simplify the task. I have a feeling this is going to get a bit complicated in pretty short order, though. It could become a bit of a maintenance headache, and probably subject to breakage with future Cognos updates. I guess it depends on how badly you want to do it.

I have not messed with javascript-based tooltips so I cannot offer anything more specific in that area. Sorry. :(

Cognos10x

Thank You so much for your inputs. I am able to convince my user for the grid reports.

I have a similar kind of need but this time its in chart objects. Thankfully I am not using JavaScript this time. But custom labeling at the node level.

As you might know  custom labeling is for string values only(correct me if I am wrong). I need to show different numeric values like  amount, price, which needs numeric formatting like $ or thousand separator.
Is there any work around for this?

See the attachment which shows the issue.
http://screencast.com/t/4HoFKk5fJa