Forum Discussion

Jo5hua22's avatar
Jo5hua22
Helper I
4 years ago
Solved

Max value based on filter

Hi Users   Can you please help me with finding the maximum value based on filters?   Steps to be done: 1. Filter Measurement Type as Trial 1. 2. Filter Machine as 1011 3. In the quantity, you ...
  • Jo5hua22's avatar
    Jo5hua22
    4 years ago

    Hi all

    Thanks for your comments. I managed to find a solution for my problem

    In a measure variable,

    #Meas =
    CALCULATE(
    MAXX(
    SUMMARIZE(Table1,Table1[Measurement Type],Table1[Machine],"Count",COUNT(Table1[Qty]))
    ,[Count]
    ),ALLEXCEPT(Table1,Table1[Measurement Type],Table1[Machine]))