Forum Discussion

PBI5851's avatar
PBI5851
Icon for Helper V rankHelper V
6 years ago
Solved

Blank Value shows when it doesnt exist

Hello, I have a Table with Clients and AccountID and a Seperate Client table (as a dimension). Now this table is joined to multiple other tables and have inactive joins. But for this error, I am looking at the primary table which has an active join to Client. 

 

Primary table

AccountIDSubType
A1234CC
A234CC
A456AC
A876AC
A989AC
A323CC

 

The Measure is AllPtCount = CountA('Primary Table'[AccountID])

 

When i display the data in a table i get the below result

AllPtCountSubType
2 
2CC
2AC

 

Net count is correct, but why am I getting a NULL value in the subtype. I checked the db and see no NULL values in the table. Any advise ?

  • dax's avatar
    dax
    6 years ago

    Hi PBI5851 , 

    You could refer to my sample for details. I think this should be caused by the value not match between two tables. In my sample, p2 table have a value "A C" , which can't map to client table, so when you create relationship and use subtype from client table, it will show this part as null.

    Best Regards,
    Zoe Zhi

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

5 Replies

  • PBI5851 , Are you also getting that when you try like

     

    AllPtCount = Count('Primary Table'[AccountID])

      • amitchandak's avatar
        amitchandak
        Icon for Super User rankSuper User

        PBI5851 , With exactly this data , or you have a dimension/master  table you are joining with it?