Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

View data from Dataverse in a gallery

(0) ShareShare
ReportReport
Posted on by 691
  • Siyanda_007 Profile Picture
    13 on at
    Re: View data from Dataverse in a gallery

    I can see that you have semi-colons, instead of commas.

  • s44 Profile Picture
    691 on at
    Re: View data from Dataverse in a gallery

    .

     

  • Siyanda_007 Profile Picture
    13 on at
    Re: View data from Dataverse in a gallery

    Yes, I apologize for not mentioning it earlier but it is the name of your relationships which are also known as connections, the relationship between your tables. You can find them through Power Apps portal, go to the environment where your tables are located once you located the tables. Look for the "relationships" or "connections" tab then view the relationships.

     

  • s44 Profile Picture
    691 on at
    Re: View data from Dataverse in a gallery

    .

  • Siyanda_007 Profile Picture
    13 on at
    Re: View data from Dataverse in a gallery

    The error you're facing suggest that it's possible that the relationships or the specific syntax used in the formula might need adjustment but here's another formula you can try to avoid such an error.

    Replace ThisItem.Table2.Table3.ID with:

     LookUp(Table3, Table2Table3.Table2Table3 = LookUp(Table2, Table1Table2.Table1Table2 = ThisItem.Table1Table2.Table1Table2).Table2Table3.Table2Table3).ID

    • LookUp(Table2, Table1Table2.Table1Table2 = ThisItem.Table1Table2.Table1Table2): This part looks up the related record in Table2 based on the relationship with Table1.

    • LookUp(Table3, Table2Table3.Table2Table3 = ...): This part looks up the related record in Table3 based on the relationship with Table2.

    • .ID: Finally, it retrieves the ID field from the found record in Table3.

     

  • s44 Profile Picture
    691 on at
    Re: View data from Dataverse in a gallery

    .

  • Siyanda_007 Profile Picture
    13 on at
    Re: View data from Dataverse in a gallery

    In the UNITE column of your gallery try changing your formula to ThisItem.Table2.Table3.ID, where 

    • ThisItem: Refers to the current item in your Gallery_1.
    • Table2: Navigates from the current item to the related item in Table2 based on your Many-to-One relationship.
    • Table3: Navigates from the related Table2 item to the related item in Table3.
    • ID: Retrieves the ID field from Table3.

    But also make sure that the Items property of your Gallery_1 is set to your Table1, so the formula would be the name of your data source which Table1 according to your question.

  • mbatutie Profile Picture
    14 on at
    Re: View data from Dataverse in a gallery

    Hi, it's a long video, but it's very good - about dataverse relationships and displaying them in galleries.
    https://www.youtube.com/watch?v=7fj87TAaTvw

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,635 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard