Forum Discussion
kattlees
Post Patron
5 years agoCounting rows on a certain date
I need to get a count of the number of rows on a given day in a given month. My issue is when their arrival date or departure date is in a different month. Example: Visitor arriv...
- 5 years ago
kattlees
Take a look at these two Quick Measures as I think you want something like them.
https://community.powerbi.com/t5/Quick-Measures-Gallery/Open-Tickets/m-p/409364
https://community.powerbi.com/t5/Quick-Measures-Gallery/Periodic-Billing/m-p/409365
ryan_mayu
Super User
5 years agomaybe you can try this
Measure = calculate(COUNTROWS('Table'),FILTER('Table','Table'[arrival]<=max('Date'[Date])&&'Table'[departure]>max('Date'[Date])))
pls see the attachment below