Forum Discussion
DHB
2 years agoHelper V
DAX Expression Fail
Hi all, I wonder if you could help me with a bit of DAX. I have a list of students (ECON_1008 Enrols) joined to a list of dates on which they were active online (one to many). Now I’m only ...
- 2 years ago
Hi,
This calculated column formula works
Column = if(CALCULATE(COUNTROWS('Students and courses'),FILTER('Students and courses','Students and courses'[Course_Start]<=EARLIER(Activity[Activity Date])&&'Students and courses'[Course_End]>=EARLIER(Activity[Activity Date])&&'Students and courses'[Student]=EARLIER(Activity[Student])&&'Students and courses'[Course]=EARLIER(Activity[Course])))<>BLANK(),"Valid","Invalid")Hope this helps.
DHB
2 years agoHelper V
Thank you Ashish_Mathur that works perfectly. I really appreciate your time.
Ashish_Mathur
2 years agoSuper User
You are welcome.