Forum Discussion

noliverte's avatar
noliverte
Icon for Helper III rankHelper III
6 years ago
Solved

Powerbi modelling 1-->*

Hello,

 

I'd like to separate my tables to be more efficient in powerbi.

 

I used google analytics connector with the following data

 

I'd like to link campaigns-name/Campaign with objecfifs/Campaign and Campagnes/Campaign tables with 1-->*

 

I'd like that campagnes table and objectifs can communicate with campaingn segment

 

 

I create campaigns-name in powerquery

1- i dupplicate Campagnes table (new table campaigns-name)

2- remove all columns except Campaign

3- remove all dupplicate content in Campaign column

 

When I try to link campaigns-name/Campaign with objectifs/Campaign I can't have 1-->* relationship

In powerquery :

 

 

How can i do have this type of relationship ?

 

A response would be appreciated

 

Noliverte

  • noliverte you should set a relationship the similar way you set it with Calendar table. Not sure what is the exact question? Do you get any error or run into an issue when you try to connect this new unique campaign table with other tables?

     

    I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!

    Visit us at https://perytus.com, your one-stop shop for Power BI related projects/training/consultancy.

  • I just find an solution... My campain's column hadn't unique values... When I applied delete dupplicate in all my campain column, I always had dupplicate fields... I had to apply a low case filter and it's work  !!!

     

    Bye

     

    Noliverte

3 Replies

  • noliverte you should set a relationship the similar way you set it with Calendar table. Not sure what is the exact question? Do you get any error or run into an issue when you try to connect this new unique campaign table with other tables?

     

    I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!

    Visit us at https://perytus.com, your one-stop shop for Power BI related projects/training/consultancy.

    • noliverte's avatar
      noliverte
      Icon for Helper III rankHelper III

      Thank you for your answer parry2k.

       

      In fact when I try to link these 2 tables with the key campain with  cardinality 1-->* I have the following error message

      Sorry I have french version of Powerbi

       

      How can i fix it ? 

      Do you have an idea ? Which type of test ?

      • noliverte's avatar
        noliverte
        Icon for Helper III rankHelper III

        I just find an solution... My campain's column hadn't unique values... When I applied delete dupplicate in all my campain column, I always had dupplicate fields... I had to apply a low case filter and it's work  !!!

         

        Bye

         

        Noliverte