Forum Discussion
Anonymous
5 years agoNot applicable
max value for 2 categories
Hi All, i am having hard time finding the max value product. below is my table of data. for argentina 1336 is the max sold value and peripherals is the max sold item. i am able to get the max s...
- 5 years ago
Anonymous , sorry my mistake, Try like
Rankx(filter(allselected('Sales'[Country], 'Sales'[Product]),'Sales'[Country] =max('Sales'[Country])), CALCULATE(SUM('Sales'[AMOUNT_SOLD])),,desc)
Anonymous
5 years agoNot applicable
amitchandak
Super User
5 years agoAnonymous , sorry my mistake, Try like
Rankx(filter(allselected('Sales'[Country], 'Sales'[Product]),'Sales'[Country] =max('Sales'[Country])), CALCULATE(SUM('Sales'[AMOUNT_SOLD])),,desc)
- Anonymous5 years agoNot applicable
It worked amitchandak thank you.