Forum Discussion
sandeep_sharma
Helper II
3 years agoCount of Workable Inventory
Hi All, I need to count unbilled workable Ticket no. on the 1st of every month. Below is the data where we have received the date, expiration date, and billed date. A ticket number is workable in...
- 3 years ago
Hi sandeep_sharma
Please refer to attached sample file with the proposed solutionCount = COUNTROWS ( FILTER ( 'Table', MAX ( 'Table'[Received Date], 'Table'[Expiredate] ) <= MIN ( 'Date'[Date] ) && COALESCE ( 'Table'[Billed Date], TODAY ( ) ) >= MIN ( 'Date'[Date] ) ) ) - 3 years ago
sandeep_sharma
YesCount = COUNTROWS ( FILTER ( ALL ( 'Table' ), MAX ( 'Table'[Received Date], 'Table'[Expiredate] ) <= MIN ( 'Date'[Date] ) && COALESCE ( 'Table'[Billed Date], TODAY ( ) ) >= MIN ( 'Date'[Date] ) ) )
sandeep_sharma
Helper II
3 years agoThanks tamerj1 ....This works! You are awesome!
However this All measure does not allow me to filter the data basis my LOB...any workaround?
tamerj1
Community Champion
3 years agoCount =
COUNTROWS (
FILTER (
CALCULATETABLE ( 'Table', ALL ( 'Date' ) ),
MAX ( 'Table'[Received Date], 'Table'[Expiredate] ) <= MIN ( 'Date'[Date] )
&& COALESCE ( 'Table'[Billed Date], TODAY () ) >= MIN ( 'Date'[Date] )
)
)