web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to make formula wo...
Power Apps
Unanswered

How to make formula work with multiple inner joins

(0) ShareShare
ReportReport
Posted on by 10

Hello!

 

Trying to create a formula based on the following query with multiple inner joins and have no idea on how to proceed on something like this. Any help?

 

SELECT Trans_Poles.Trans_Pole_Stencil, Trans_Drawings.Trans_Dwg_Name, Trans_Drawings.Dwg_Title, Trans_Drawings.Dwg_Rev_No, Trans_Drawings.Dwg_Rev_Date
FROM Trans_Drawings INNER JOIN (Pole_to_Dwg_Junction INNER JOIN Trans_Poles ON Pole_to_Dwg_Junction.Trans_Pole_ID = Trans_Poles.Trans_Pole_ID) ON Trans_Drawings.Trans_Dwg_ID = Pole_to_Dwg_Junction.Trans_Drawing_ID
WHERE (((Trans_Poles.Trans_Pole_Stencil) Like [TextSearchBox1]));

Categories:
  • PowerThomas Profile Picture
    288 on at

     

    Search(
     AddColumns(
     'Poles to Drawings',
     "Stencil",
     LookUp(
     Poles,
     Pole = 'Poles to Drawings'[@Pole].Pole,
     Name
     )
     ),
     TextInput1.Text,
     "Stencil"
    )

     

    In your Gallery you can reference all the fields like this:

    ThisItem.Drawing.Name

    ThisItem.Drawing.Title

    ThisItem.Drawing.Rev_No

    ThisItem.Drawing.Rev_Date

    ThisItem.Stencil

     

    ━━━━━━━━━━━━━━━━━━━━━━━━━
    If I have answered your question, please mark your post as Solved. ✔️
    Solved questions helps users in the future who may have the same issue or question quickly find a resolution via search.
    If you liked my response, please consider giving it a Thumbs Up. 👍 Thank you!

  • jhblalock Profile Picture
    10 on at

    How do I incorporate this AddColumn into what I currently have? Again I apologize..I am totally new to this:

     

    SortByColumns(
    Search(
    [@'[dbo].[Trans_Drawings]'],
    TextSearchBox1.Text,
    "Dwg_Title",
    "Trans_Dwg_Name"
    ),
    "Dwg_Title",
    If(
    SortDescending1,
    Descending,
    Ascending
    )
    )

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 271

#3
Mohsin Ali Profile Picture

Mohsin Ali 239

Last 30 days Overall leaderboard