Forum Discussion

ConnieMaldonado's avatar
ConnieMaldonado
Responsive Resident
3 years ago
Solved

Use a Matrix to Display Values - Divisor is Fixed

I am using a matrix to display values for a report that contains sales and quantity data based on Type, Category, Subtype, Line Item.  Here is a link to a pbix containing mock data and my attempt at ...
  • amitchandak's avatar
    3 years ago

    ConnieMaldonado , Try a measure like

     

    calculate(Sum(Table[Qty]), filter(all(Table), Table[Item] = max(Table[Item Type]) ))

     

    or

     

    calculate(Sum(Table[Qty]), filter(all(Table [Item]), Table[Item] = max(Table[Item Type]) ))