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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—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
  • 2 replies
  • 1146 views
  • 0 likes
  • 3 in conversation