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.
v-chenwuz-msft
4 years agoCommunity Support
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.
- Dvilches_4 years agoFrequent Visitor
You tha best! Working fine. Power Query i think that i handle it quite well, but currently i'm in the DAX journey.
Thanks for your time and this solution!