Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Join data from opposite many sides

I have a model on picture below . I need to combine data from SNR_10 and V_dim_SNR_Bundle tables into a single table visual that will show all SNR_10.SNR_10 values with their corresponding V_dim_SNR_Bundle.matnr_10 values on the many sides.

 

Each SNR_10 could have one, more, or no corresponding matnr_10 value.

 

 

What is the best way to achieve this?

 

  • Anonymous's avatar
    Anonymous
    3 years ago

    I was able to merge queries based on bundle_id and that is how I came up with the table that I was looking for. I am still unsure why I wasnt able to combine these fields in table visual.

5 Replies

  • Hi Anonymous ,

     Your model looks good. What happens when you put those fields into a table visual? (SNR_10[SNR_10] and V_dim_SNR_Bundle[matnr_10])

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi djurecic ,

       

      I get an error that PBI cannot determine relationships between fields.

       

       

  • Ok. Can you add bundle_id from v_dim_unique_bundle?

    • Anonymous's avatar
      Anonymous
      Not applicable

      Yes I can use field from V_dim_unique_Bundle. Only when I drop fields from V_dim_SNR_Bundle, I get the error message.

  • Anonymous's avatar
    Anonymous
    Not applicable

    I was able to merge queries based on bundle_id and that is how I came up with the table that I was looking for. I am still unsure why I wasnt able to combine these fields in table visual.