Forum Discussion

kevinedora's avatar
kevinedora
Helper I
4 years ago
Solved

Countif 2 Criteria

Hi,

 

I've been trying to countif (distinct) account numbers with 2 criteria. It needs to matched the date and node on "node table" and "reference table"

 

Node Table 

Date(YYYYMM)NodeEvent ID
202201M1231
202202M1242
202202M1242
202202M1262
202203M1273
202204M1284

 

Reference Table

Date(YYYYMM)NodeAccount No.
202201M123123456789
202202M124123456781
202202M124123456782
202202M126123456783
202203M127123456784
202204M128123456786

 

Result Table:

Date(YYYYMM)Node(Distinct Count)Account No. (Distinct Count)
20220111
20220223
20220311
20220411

 

Please advise.

 

Regards,

Kevin

  • kevinedora First join both the table as per below snap:

     

    Then simply drag teh column in visual table as per below snap

     

     

1 Reply

  • ddpl's avatar
    ddpl
    Solution Sage

    kevinedora First join both the table as per below snap:

     

    Then simply drag teh column in visual table as per below snap