Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

banding - count

Hello, from a DirectQuery, I get a table named as tblPerformance which has columns like: pKey Performance asd 10 gfd 34 xyz 39 ... I have manually created a table for banding as follows: tblB...
  • v-yingjl's avatar
    v-yingjl
    6 years ago

    Hi Anonymous ,

    Try to count it directly:

    Measure = 
    COUNTAX(
        FILTER(
            'tblPerformance',
            [Performance] >= SELECTEDVALUE(tblBanding[Low]) && [Performance] <= SELECTEDVALUE(tblBanding[High])
        ),
        [pKey]
    )

     

    Best Regards,
    Yingjie Li

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