Forum Discussion

Zulaikha's avatar
Zulaikha
Frequent Visitor
1 year ago
Solved

Join path are expected to form tree

Hi All,

I am getting the following error when I'm embedding my report with RLS using service principal.

However in PowerBI desktop it is working fine.

Below are the connection that I'm using

 

 

  • Hi Zulaikha , 
    As indicated in the error message, there are two relationships between the Fact Terminal and Dim Ministries tables through the Ministries ID column, as highlighted in the images below:


    Now what you need to do, its remove one of these relationships and check if the error is resolved.
    You can learn more about star schema here 

     

    I hope this helps! 🎯
    If you found this answer helpful:
    ✔️ Mark it as the solution to help others find it faster.
    👍 Give it a kudo to show your appreciation!

     

3 Replies

  • Hi Zulaikha , 
    As indicated in the error message, there are two relationships between the Fact Terminal and Dim Ministries tables through the Ministries ID column, as highlighted in the images below:


    Now what you need to do, its remove one of these relationships and check if the error is resolved.
    You can learn more about star schema here 

     

    I hope this helps! 🎯
    If you found this answer helpful:
    ✔️ Mark it as the solution to help others find it faster.
    👍 Give it a kudo to show your appreciation!

     

  • Zulaikha , Two fact tables should not be joined directly with each other; they should be joined through common dimensions. It seems like both fact tables are joined to one common dimension and also to each other, creating multiple paths from the dimension to one of the fact tables.

    • Zulaikha's avatar
      Zulaikha
      Frequent Visitor

      Any idea on how to rectify the coonections??