Forum Discussion
Anningco
1 year agoNew Member
To count a date column and populate the count based on main date column
Hi guru, I would like to seek your help on the following question I encountered. Background - I have two tables, one being the main table (Append1) and another is the intelligient date table...
- 1 year ago
Hello Anningco
Try this measure
Created Count =
CALCULATE(
COUNTROWS(Append1),
FILTER(
ALL(Append1),
FORMAT(Append1[Date_Created], "MMM-yy") = FORMAT(MAX(Intel_Cal[Date]), "MMM-yy")
)
)
Thanks
If this solution helps, please accept it and give a kudos (Like), it would be greatly appreciated.
pankajnamekar25
Super User
1 year agoHello Anningco
Try this measure
Created Count =
CALCULATE(
COUNTROWS(Append1),
FILTER(
ALL(Append1),
FORMAT(Append1[Date_Created], "MMM-yy") = FORMAT(MAX(Intel_Cal[Date]), "MMM-yy")
)
)
Thanks
If this solution helps, please accept it and give a kudos (Like), it would be greatly appreciated.