Forum Discussion
Oros
Post Prodigy
2 years agoCOUNT rows with filter
Hello, How do you create a measure to COUNT many rows have zeros (in the VARIANCE column), but excluding the zero IF INVENTORY=0 and COUNTED=0 In the example below, the measure should o...
- 2 years ago
Hi,
Assuming Inventory, Counted and Variance are measures that you have written, write this measure
Measure = countrows(filter(Values(Data[Product]),[Inventory]<>0&&[Counted]<>0&&[Valiance]=0))
Hope this helps.
Ashish_Mathur
Super User
2 years agoHi,
Assuming Inventory, Counted and Variance are measures that you have written, write this measure
Measure = countrows(filter(Values(Data[Product]),[Inventory]<>0&&[Counted]<>0&&[Valiance]=0))
Hope this helps.
Oros
Post Prodigy
2 years ago- Ashish_Mathur2 years ago
Super User
You are welcome.