Forum Discussion

AaronGlenn10's avatar
AaronGlenn10
Helper III
4 years ago
Solved

Return Max Result by Sales

Power BI Rock Stars:   I have a summary page for restaurant sales where users can select a CITY to review the total of all restaurants within that CITY. Trying to find a measure that will return th...
  • Ashish_Mathur's avatar
    4 years ago

    Hi,

    This measure should work

    =FIRSTNONBLANK(TOPN(1,VALUES(Restaurants[Name]),[Total Sales]),1)