Forum Discussion
aaditya2000
Helper II
9 years agoCALCULATE help
Hello: I want the COUNT of Batch# for all storename for each customer. below is the screenshot. I am looking for something like this. XYZ-->ALL storename-->Count of all Batch# MEASURE = 4 (...
dilumd
Impactful Individual
9 years agoHi,
Below function will consider all columns in your data table except Batch # column,
Count of Raws = CALCULATE(COUNTROWS(CountRaws),ALLEXCEPT(CountRaws,CountRaws[Batch#]))
However, if you use below formula with ALL function it will ignore all filters inside the table.
Count of Raws = CALCULATE(COUNTROWS(CountRaws),ALL(CountRaws[Batch#]))
aaditya2000
Helper II
9 years agoThank you for your reply. want to know how i can do that where based on customer, i want to total count = total stores X count of batch.
for e.g = 4 stores X count of batch (4)
= 16.
thanks
- dilumd9 years ago
Impactful Individual
you can use SUM or SUMX functions based on your ultimate goal.