Forum Discussion
Dvilches_
4 years agoFrequent Visitor
Count Operating Days
Hello there, Hope you're doing great! I have a question. I'm using a simple model that const of two tables: FacSales DimCalendar My company move several packages in a daily basis, however...
- 4 years ago
Hi Dvilches_,
count days if the day is greater then 15,000.
Count operating days = COUNTROWS(filter(SUMMARIZE('FacTable',[Date],"sum",SUM(FacTable[packages])),[sum]>15000))Result:Pbix file in the end you can refer.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Syk
4 years agoResident Rockstar
You could create a calculated column to look at your packages moved and if >15k set to true, else set to false.
Then you could use it to filter your data by setting it to true. Or you could create a measure to count days where it is true. Depends what you need it for!
- Dvilches_4 years agoFrequent Visitor
Hey Syk,
That would be useful if you grouped the data, but i would lose granularity.. In this case the data comes for shiptment ID. In average, each shipmet have 1-3 packages.