Forum Discussion

powerbi_bi's avatar
powerbi_bi
Frequent Visitor
9 years ago

TRUE/FALSE from another table

Hi,

I have two tables in tabular model

Table1 has multiple records with details

Table 2 has distinct records with Status column (TRUE/FALSE)

 

How should I bring in this column to Table1

 

I tried RELATED on Table1 to bring this coulmn in from Table2, but it shows some rows as BLANK because they're not DISTINCT

 

What is the BEST way to bring in a TRUE/FALSE column from DISTINCT rows table into a multiple records table

 

SAMPLE

 

Table1

Student_NoSubjectScore
1Math90
1Science95
2Math85
2Science85

 

Table2

Student_NoStatus
1TRUE
2FALSE

 

End result should be

Student_NoSubjectScoreStatus
1Math90TRUE
1Science95TRUE
2Math85FALSE
2Science85FALSE

 

Thanks

6 Replies

    • powerbi_bi's avatar
      powerbi_bi
      Frequent Visitor

      I used the same formula, but I see blanks for records which are duplicates

      • Sean's avatar
        Sean
        Community Champion

        Okay so how are the two tables related? Are you saying you are getting only one Status per Student_No in Table 1?