Forum Discussion

PMF99's avatar
PMF99
Regular Visitor
6 years ago

Comparing Columns

Hi,

 

I have 2 tables in my data model & wish to calculate the difference between them

  • Append_All_Boards[Board TCV] & 
  • Resign_Append[Access TCV].

The tables are connected by the common field [Deal Number]. 

 

When I attempt to use this expression in my Append_All_Boards table =related(Resign_Append[Access TCV])...

 

I get the following error message.."The column 'Resign_Append[Access TCV]' either doesn't exist or doesn't have a relationship to any table available in the current context."

 

Can you help?

 

Many thanks

Peter

 

 

 

7 Replies

  • Hi PMF99 

     

    Can you confirm that you have an active many to one relationship between Append_All_Boards and Resign_Append?

    Are you able to include a snip / screen shot of your Relationship view?

     

    Best regards,

    Martyn

     

    If I answered your question, please help others by accepting it as a solution.

    • PMF99's avatar
      PMF99
      Regular Visitor

      Thanks Martyn.

       

      Here you go ...

       

       

       

       

       
      • MartynRamsden's avatar
        MartynRamsden
        Solution Sage

        Hi PMF99 

         

        The RELATED function can only be used on the many side of a many to one relationship.

        In your case, this is the Resign_Append table. Hence why you're seeing the error.

         

        Can you explain in a bit more detail (ideally with some example data) what you're trying to achieve?


        Best regards,

        Martyn

         

        If I answered your question, please help others by accepting it as a solution.