Forum Discussion

megm001's avatar
megm001
Advocate II
8 years ago
Solved

Ignore row context only

Is it possible for a table visual to including a column that ignores the row context, while still retaining other visual filters?   For example, I have the following table with filters for month an...
  • parry2k's avatar
    8 years ago

    with ALL(Customers[Company]) you are removing filter on the company field. 

     

    I guess you want to calculate "Grand mean" on selected records, correcT?

     

    if that is the case then try following

     

    Grand Mean =
       CALCULATE(
          SUM(Customers[Taste Rating]),
          AllSelected(Customers)
       )/
       CALCULATE(
          COUNT(Customers[Taste Rating]),
          AllSelected(Customers)
       )