Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Problem with Count

I am struggling to count and Identify the products with more than one delivery days value. Here is a simple dataset: Here, Products A, C and E have more than one delivery days value, while product B...
  • v-easonf-msft's avatar
    v-easonf-msft
    5 years ago

    Hi, Anonymous 

    Take a try  measure as below in your live connection model :

     

    Count = 
    CALCULATE(
        COUNTROWS('Table 1'),
        FILTER(
            ALL('Table 1'),
            'Table 1'[Product] in DISTINCT('Table 1'[Product])
        )
    )

     

     

     

    Best Regards,
    Community Support Team _ Eason