Forum Discussion

datadmin-austin's avatar
4 years ago
Solved

Compare / Combine Data

Hello All,   I have 2 tables - one has a list of locations, the 2nd has a list of locations, date of inspections, and scores of those inspections (Two different types of inspections) for each locat...
  • DataInsights's avatar
    DataInsights
    4 years ago

    datadmin-austin,

     

    I revised the two measures below:

     

    Audit Date 1 = 
    IF ( MAX ( Table2[AuditScorePercentage1] ) <> BLANK (), MAX ( Table2[Date1] ) )
    Audit Date 2 = 
    IF (
        MAX ( Table2[AuditScorePercentage2] ) <> BLANK (),
        CALCULATE ( MAX ( Table2[Date1] ), Table2[AuditScorePercentage2] <> BLANK () )
    )