I want to achieve summarizing sales by merchant, then displaying the maximum and minimum sales under each category without showing specific merchant names.
I assume you try to create a calculated max field on dataset level, LAC functions doesn’t work on that level.
Try the LAC function in the analysis and if this doesn’t show your desired outcome we can try to work it out.
Thank you for your answer and let me know the difference!
In addition, as I describe in the question, I want to achieve this effect:
① {sales} is aggregated according to {merchant}
② Displays the maximum value of {sales} aggregated according to {merchant} under each {category}, and does not display {merchant} information in dimension
The inner aggregation calculates the sum of sales grouped by merchant. The outer aggregation then calculates the average, max or min grouped by the dimension in your visual (category).