Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Cognos Tutorial - Sparklines inside a Crosstab

Loading...

Sign in or sign up now!
18,923
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jan 31, 2009

Report Studio tutorial to show how to include a sparkline into a crosstab for each row item.
Please take a look at http://cognosoracle.blogspot.com for hi-res version of this video.
Thanks for watching.

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (maulazyhola)

  • Great video but the results don't make sense. I expect to see spikes in the spark-lines for 2008 for almost all of the product. And look at the 3rd product: Devocryll15, why does it have spikes between roughly 2005 -2008 when there are barely any sales recorded? I expected a huge spike in 2008 for this product but the spark-lines appear to be dipping. What am I missing?

  • @BlackVivaldi Good question. At some point of the video I explain that Crosstab values are grouped by year and the query that draws the sparklines is grouped by year and month. So it looks that 2008 was great for that product but the sales are spread around many months, perhaps the first quarter or so.

    I hope this makes sense to you. To be honest I had to watch the video again and figure it out since I created this one long time ago and the original data was just a demo, it doesn' exist anymore.

  • There is nothing to point, I really like helping whenever I can.

    You are very close Aghsan, I think your problem is just changing a little bit your calculation.

    Instead of months_between({sysdate}, birth/12), use months_between({sysdate}, birth)/12

    This will return a float number,which you can format as required with Cognos.

    Cheers!

  • I haven't used the "_age" function. I usually just format a DATE field, and yes you may chose among a bunch of options such as dd/mm/yyyy, mmm/yyyy, etc.

    If you want to display only the day just need to customize the format in Framework Manager or directly on Report Studio.

    Cheers!

  • cool series video.. please keep this good job up always

    Cheers ;)

  • @aghsan Thanks!

see all

All Comments (23)

Sign In or Sign Up now to post a comment!
  • excellent, thanks.

  • Thanks Mr.maulazyhola, I really appreciate your help

    Cheers

  • Dear maulazyhola,

    Thanks for your kind response and prompt positive answer ;) I really appreciate it.

    Would you kindly tell me how do you calculate the age?

    because I use "months_between" function, for example

    months_between ({sysdate}, [BIRTH_DT_TM]  )/12) , and its result is 0 for a new born, it doesn't show me the actual age, if this baby his age is a few monthes, or days.

    Would you kindly tell me how can I fix this issue??

    Thanks alot ;)

  • You are very welcome;)

    I have a question plz,

    I use "_age" function, but as you know, its format doesn't look very nice, and I need to format it. I would like to see YY "Year", MM "Month", DD "Day", and

    sometimes, there is no year nor month, just day, so I need a label to descries that. can you help me?

    Thanks in advance.

Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more