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 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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
  • 1739 views
  • 1 like
  • 3 in conversation