Forum Discussion
mrleijzer
6 years agoHelper I
USERELATIONSHIP not working correctly
Hello all, I have two tables, Calendar and Projecttakken. There's a main active relationship between Calendar[Date] and Projecttakken[Boekdatum]. There's also an inactive relationship between C...
mrleijzer
6 years agoHelper I
Thanks Dong Li, but it's still coming up blank.
v-lid-msft
6 years agoCommunity Support
Hi mrleijzer ,
Where are you applied the 'Date'[Date] column, in the table visual or in the filter? We can try to use the following measur if you use it in the filter:
Measure =
CALCULATE (
COUNT ( Projecttakken[Boeknummer] );
FILTER (
CALCULATETABLE (
ALLSELECTED ( Projecttakken );
'Calendar'[Date]
);
Projecttakken[Gewijzigd]
IN FILTERS ( 'Calendar'[Date] )
);
Statussen[Statuscategorie] = "Vervallen"
)
Measure =
CALCULATE (
COUNT ( Projecttakken[Boeknummer] );
FILTER (
ALL ( Projecttakken );
Projecttakken[Gewijzigd]
IN FILTERS ( 'Calendar'[Date] )
);
Statussen[Statuscategorie] = "Vervallen"
)
Best regards,