BookmarkSubscribeRSS Feed
gugukaka
Calcite | Level 5

I want to know how to find the mode in sas viya report. And I want to know how to get the maximum value of each column. For example, is there a method like Group by Max?

2 REPLIES 2
Sam_SAS
SAS Employee

One approach to finding mode would be to convert the measure to a category (you would probably want to duplicate the column first) and then find the value that has the highest frequency. There might be other ways.

 

Maximum value is easier-- you can just apply the Maximum aggregation.

 

Let us know if that helps,

 

Sam

sasviyajunior
Calcite | Level 5

I want to get the mode aggregation, not the maximum aggregation. I have obtained the frequency corresponding to the category, but I am worried because there is no overlap of the aggregated measures.

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
  • 2 replies
  • 643 views
  • 0 likes
  • 3 in conversation