Forum Discussion

uc's avatar
uc
Helper II
3 years ago
Solved

Dax statement help

Hello 

Need help with dax. I have a table below with 4 columns and the last column is the count of first 3 columns, provided they have data in it. Can you please advise what dax statement I need to use for the Total ID column? Thanks in advance.

 

ID1ID2ID3Total ID
1aa1bb1cc3
 2bb2cc2
1ss  1
  • Hi,

    Please check the below picture and the attached pbix file.

     

     

     

    Total ID count CC =
    ( 'Table'[ID1] <> BLANK () )
        + ( 'Table'[ID2] <> BLANK () )
        + ( 'Table'[ID3] <> BLANK () )
    

     

     

2 Replies

  • Hi,

    Please check the below picture and the attached pbix file.

     

     

     

    Total ID count CC =
    ( 'Table'[ID1] <> BLANK () )
        + ( 'Table'[ID2] <> BLANK () )
        + ( 'Table'[ID3] <> BLANK () )
    

     

     

  • uc's avatar
    uc
    Helper II

    Great. Thanks a lot 🙂