Forum Discussion
Vamshi2020
5 years agoHelper II
Count rows except the selected date range
Hi guys, I have Table A which has Arrival Date, Affliate columns and calender table which i use for Slicer. Iam using Between view of slicer. My requirement is to get the count of Affliates af...
- Anonymous5 years ago
Hi Vamshi2020 ,
You may try this measure. There is no relationship between the calendar table and the main table.
CountRows = CALCULATE ( COUNTROWS ( 'Table' ), FILTER ( 'Table', NOT ( [Arrival Date] IN ALLSELECTED ( 'Calendar'[Date] ) ) ) )You can check more details from here.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
AllisonKennedy
5 years agoCommunity Champion
I haven't read too carefully, so I may be off mark here, but try:
var a=MAXX(ALLSELECTED(Calender),Calender[Date])
var a=MAXX(ALLSELECTED(Calender),Calender[Date])