Forum Discussion

MJMutex's avatar
MJMutex
Frequent Visitor
6 years ago
Solved

Count Rows with Sum conditions

Hi All   I'm working on a dataset containing transactions over a 5 years period. This includes Financial Year, Supplier and Amount. I've got a matrix visual nicely showing a breakdown. The user ...
  • v-xuding-msft's avatar
    6 years ago

    Hi MJMutex ,

    I created a sample that you can have a try.

    >100k = CALCULATE(COUNT('Table 1'[Suppiler]),FILTER(ALLEXCEPT('Table 1','Table 1'[Financial Year]),'Table 1'[Amount] >= 100000 ))
    Supplier list = CALCULATE(MAX('Table 1'[Suppiler]),FILTER('Table 1','Table 1'[Amount] >= 100000))

    I attached my sample that you can download. If it is not what you want, please share some sample data and your expected results.

     

    Best Regards,

    Xue Ding

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.