Forum Discussion

badger123's avatar
badger123
Resolver I
7 years ago
Solved

Calculate Filter Ignoring in Table visual

Something strange is happening with my measure and I can't figure out why / what I need to do to make it work properly. Any advice would be great. I have a table, simplified below, and on the page th...
  • hnguy71's avatar
    hnguy71
    7 years ago

    I'm not quite sure I understand. You want to only return the average if the price is not blank? If that's the case, you can either use a visual filter or inside your measure do something like this:

    CALCULATE(AVERAGE(Table1[Price]), Table1[Price] <> BLANK())