Forum Discussion
ULTRAVI0LENCE
2 years agoNew Member
Week Over Week DAX Count for Previous Week
I've created a measure that uses calculated columns that counts rows with a specific value, see below. Calls This Week = CALCULATE(COUNTROWS(AllContacts),FILTER(AllContacts,AllContacts[Contact_S...
FreemanZ
2 years agoSuper User
Hi ULTRAVI0LENCE ,
try like:
CountPreviousWeekColumn=
COUNTROWS(
FILTER(
AllContacts,
AllContacts[Contact_System]="Call Center"
&&AllContacts[WeekRank] = EARLIER(AllContacts[WeekRank]) -1
)
)
ULTRAVI0LENCE
2 years agoNew Member
Thank you for the reply,
The EARLIER DAX expression does not accept my column AllContacts[WeekRank] as a parameter. An error is thrown on this specific parameter. Any tips on this?