BookmarkSubscribeRSS Feed
Derick
Obsidian | Level 7

I want to create my barchart which able to drill down to week of Year from the Year > Month > week of Year.  I have Reference date column in DDMMMMYYYY format and have Amount column.  I drag the bar chart to the designer, at the right pane, I choose role and assign Reference date in Categories and asign Amount i Measure.

How I can set my Reference date in categories just show year, then click to drill down to Month then to week of the year?

 

I try to duplicate Reference date column and change the duplicate column format to Year.  But I got no idea how make it drill down.

 

Please guide me.  Thanks

4 REPLIES 4
Madelyn_SAS
SAS Super FREQ

Create a hierarchy of the data items, which will enable you to drill. 

 

I am not sure Week is a supported format. Which version do you have? 

Derick
Obsidian | Level 7

May I know how to do a hierarchy data items?  I think I'm using the Viya version 03.04

Madelyn_SAS
SAS Super FREQ

In the Data pane on the left, click New data item > Hierarchy

 

Add your three data items (year, month, week in the correct order). 

 

hierarchy.jpg

 

Add your hierarchy to the bar chart. Here it is drilled to week. 

 

drilled.jpg

Derick
Obsidian | Level 7

Thanks for the guide, it's work now.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

Tips for filtering data sources in SAS Visual Analytics

See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 4 replies
  • 2603 views
  • 0 likes
  • 2 in conversation