Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

DAX measure required

Good morning Magnificent Humans,   I have been trying to crack this nut for the past couple days with no luck with my limited experience.   I have 3 tables: 1 Data (multiple columns) and 2 Look u...
  • fhill's avatar
    fhill
    6 years ago

    Great, since 'ALL POS' has a 1-1 relationship with both tables, we can build a single 'New Column' on this table to acomplish what you need....  

     

    Vac wo Plan = IF(RELATED('VAC POS'[EmpID]) <> BLANK(), IF(RELATED('WPA POS'[PosNo]) = BLANK(), "Blank VAC wo Plan"))
     
    You can either change the final text to 1, and COUNT the results, or leave it text and 
    Count = COUNTA('All POS'[Vac wo Plan]) the new coulmn as a measure to get your result.