Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

True/False DAX query

I have 3 three tables (see image at bottom of question) which represent a list of students belonging to a developer community, the universities they attend and if they have a PHD or not (0 if yes, 1 ...
  • judspud's avatar
    7 years ago

    Hi Anonymous 

     

    As long as your tables are all connected properly the mesaure should span across them with no problems.

     

    Im assuming your tables follow the relationships below

    Universities to StudentUniversities on the University column

    StudentUniversities to Students on the Student column

     

    If so, then a measure as below should work:

     

     if(sum(Students[phd])>0,True(),False)

     

    Place into a table the name column from the Universities table and the measure and you should have the result you requested :)

     

    Hope this helps

     

    Thanks,

    George