Forum Discussion
vijendras
8 years agoFrequent Visitor
Count Reference tables for a value
New to DAX. I have 2 tables 1) PrimaryTable - which has the Id feild and 2)SecondaTable which has multiple rows with ID feild and end_date feild. Both tables are joined by ID column. I am trying t...
- 8 years ago
Column = COUNTROWS(FILTER(RELATEDTABLE(EntityHistory),EntityHistory[Date]>TODAY()))
In your first table.
- 8 years ago
You may use DAX below as well.
IsActive = CALCULATE ( COUNTROWS ( SecondaryTable ), SecondaryTable[end_date] > TODAY () ) > 0
v-chuncz-msft
8 years agoCommunity Support
You may use DAX below as well.
IsActive =
CALCULATE ( COUNTROWS ( SecondaryTable ), SecondaryTable[end_date] > TODAY () )
> 0