Forum Discussion

achuri's avatar
achuri
New Member
2 years ago
Solved

Calculated Column Discrepancy in Power BI - Concatenated Keys Issue

Hello,   I have encountered an issue with a calculated column in Power BI. I have two tables, each containing a "CombinedKey" column formed by concatenating five specific columns. I've successfully...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi achuri,

     

    Per my test, I could not reproduce your issue by following your steps.

     

     

    To troubleshoot your issue, please create a new calculated column to check if we can output values that are not the same between CombinedKey1 and CombinedKey2 (if any):

    outputdifference =
    
    Var CombKeyTable1 = VALUES(Table1[CombinedKey1])
    
    VAR CombKeyTable2 = VALUES(Table2[CombinedKey2])
    
    RETURN
    
    EXCEPT(
    
    CombKeyTable1, CombKeyTable2)

     

     

    Also, make sure that Power BI Desktop is up to date and also create a new report to check if the issue still exists.

     

    I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.

     

    Best regards,

     

    Joyce

     

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