Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
1 year ago

Issue with Power BI Relationship Automatically Changing from One-to-Many to Many-to-One

Dear all,

I have tried to create a one-to-many relationship in Power BI, but it keeps changing it to many-to-one.

I have made sure to mark the date table as a date table, ensured that both date columns are set to the date data type, and verified that there are no duplicates in the date column of the date table. Additionally, I have disabled automatic relationship creation. However, it still keeps swapping the relationship automatically.

 

Is this a bug in Power BI? I need the relationship to be one-to-many, and I also need to maintain a relationship between these tables for further visualization.

6 Replies

  • Deku's avatar
    Deku
    Super User

    Do you duplicate date in the forecast table?

     

    If so this relationship looks fine

    • Anonymous's avatar
      Anonymous
      Not applicable

      i do have duplicates in the forecast table. My point is that i want to set a relationship where first table is date (date column) and forecast (date) as second with relationship ONE TO MANY direction single and it does not allow me and swap it to many to one relationship where table FORECAST takes first and date as second but for graphs i need this relationship to be ONE TO MANY

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous 
    Thank you for reaching out microsoft fabric community forum.

    May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

    Thank you.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous 
    I wanted to check if you had the opportunity to review the information provided by Deku  and danextian . Please feel free to contact us if you have any further questions. If their response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
    Thank you.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous 
    I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please Accept it as a solution and give it a 'Kudos' so others can find it easily.
    Thank you.