Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Count IF Power Bi

Trying to create a count if function in power bi
  • Ashish_Mathur's avatar
    3 years ago

    Hi,

    Does these measures work?

    Average sale of all POG = calculate([Sales_avg1],all(POG[POG_Cluster])) 

    Measure = countrows(filter(values(POG[POG_Cluster]),[Sales_avg1]<[average sale of all POG]))

    If this does not work, then share the link from where i can download your PBI file.