I have three entities: "Heading", "QuestionList", "Response"
-A question belong to a heading group
-Response has mulitple colum of Question's response of a Yes/No answer.
Question: How do I create a relationship so that Response.Q1 know about QuestionList.QuestionNumber. (for querying later on)
[so that if I look at question number 1 I will know all the responses to that question and if I look at Response.Q1 i know the QuestionDescription] I want each column in Response to link to a question number. [Response.Q1 = QuestionList.QuestionNumber 1]
Could you please share a bit more about your scenario?
Do you want to link the Q1, Q2, Q3, Q4 column in your Response Entity to the QuestionNumber column in your QuestionList Entity?
Based on the needs that you mentioned, I afraid that there is no direct way to achieve your needs in PowerApps currently. As an alternative solution, I think the AddColumns function and nested Gallery could achieve yuor needs.
I have made a test on my side, please take a try with the following workaround:
Add a Gallery (Gallery1) in your app, set the Itemsproperty to following:
Within the Parent Gallery, you could display the QuesitonNumber, QuestionDescription info using some Label controls. Within the nested Gallery, you could display the EmpID, and corresponding Question response info. Please consider take a try with above solution, then check if the issue is solved.
More details about adding a nested Gallery in PowerApps app, please check the following video: