BookmarkSubscribeRSS Feed
lo88lo
Fluorite | Level 6

Hi,

I Have this problem with SAS Visual Analytics 7.2 in a crosstab

 

Situation:

CategoryGroup MonthJanuaryJanuaryFebruaryFebruary
CategoryMonth GroupContactSellContactSell
MeasureContact Group110472
Measure Sell Group215583

 

 

Situation Desired

CategoryGroup MonthContactContactSellSell
CategoryMonth GroupJanuaryFebruaryJanuaryFebruary
MeasureContact Group110742
Measure Sell Group215853
7 REPLIES 7
roy_walter
Fluorite | Level 6

What does your source table look like?

Would it be sufficient to remove group as column and re-add it above the period?

lo88lo
Fluorite | Level 6

I tried to explicate the problem in attached file

Thank you

 


Problem.png
Sam_SAS
SAS Employee

Hello,

 

It looks like you want the columns in a crosstab to be grouped by the measures rather than the categories. I don't think this is possible.

 

If you move MONTH to the row axis (no category assigned to the column axis), the result might be closer to what you want.

 

Another possibility might be to create a separate crosstab for each measure.

 

I hope that helps,

Sam

lo88lo
Fluorite | Level 6

Thank you very much but unfortunately not good

roy_walter
Fluorite | Level 6

I have to agree with Sam.

 

In a single cross-tab. This does not seem possible. It is required to use measurements on the lower part.

 

I will propably get yelled at for this, but you could split up your rows between sell and cross.

Columns:

- Category: Group

- Category: Month

- Category: Type (Contact/Sell)

- Measure: Value

 

With that you could create a crosstab that looks quite like you want it, but only has the 'value' as measure and the Month and Type as Columns.

 

I am very unsatisfied with such duck-tape solutions, but it depends on how bad you need it to actually look you stated.

Hope this helps push you into a somewhat acceptable solution.

 

Regards,

Roy

lo88lo
Fluorite | Level 6

not exactly what I needed but still is a good idea
thanks a lot

Lorenzo

roy_walter
Fluorite | Level 6

Could you mark answers as helpful or solved if you think that is what they are?

This helps others pick out the messages easier.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 7 replies
  • 1332 views
  • 1 like
  • 3 in conversation