Forum Discussion
some_analyst
Helper I
1 year agoMultiple USERRELATIONSHIP. Possible?
I have a measure which is based on the following data. Table A: ID, Submitted Date, Completed Date I want to create a measure which counts IDs, which either have Sumbmitted date before the d...
- 1 year ago
USERELATIONSHIP will not help you as it requires equality. You need "before" and "after" so you need to keep the relationships inactive and use regular FILTER queries instead.
count = COUNTROWS(FILTER('Table A',[Submitted date]<SELECTEDVALUE(Date[PK_date]) && ISBLANK([Completed date]) || [Completed date]>SELECTEDVALUE(Date[PK_date]) )
lbendlin
Super User
1 year agoUSERELATIONSHIP will not help you as it requires equality. You need "before" and "after" so you need to keep the relationships inactive and use regular FILTER queries instead.
count = COUNTROWS(FILTER('Table A',[Submitted date]<SELECTEDVALUE(Date[PK_date]) && ISBLANK([Completed date]) || [Completed date]>SELECTEDVALUE(Date[PK_date]) )