Hi @chsandeep,
Do you add a column within your SP list to store the user who submitted the survey?
Which data type is the Questions column in your SP list?
Further, do you want to display only those questions which have been answered by the user within the Detail form?
I agree with your thought almost, I think the Visible property of the Data card control within the Detail form could achieve your needs.
I assume that you add a column in your SP list to store the user (e.g. FullName, email, DisplayName, etc.) who submitted the survey, you could look up your SP list data source based on the current user, check if the corresponding question has been answered, if yes, make the corresponding Data card visible, if not, make the corresponding Data card invisible.
I have made a test on my side, please take a try with the following workaround:
Set the Visible property of the Question1 Data card within the Detail form to following:
If(
!IsBlank(
LookUp('YourSPList',UserName=User().Mail,Question1)
),
true,
false
)
Note: The UserName represents the column which is used to store the who submitted the survey within your SP list. The Question1 represents the first question field in your SP list.
Set the Visible property of the Question2 Data card within the Detail form to following:
If(
!IsBlank(
LookUp('YourSPList',UserName=User().Mail,Question2)
),
true,
false
)
Set the Visible property of the Question3 Data card within the Detail form to following:
If(
!IsBlank(
LookUp('YourSPList',UserName=User().Mail,Question3)
),
true,
false
)
...
Set the Visible property of the Question45 Data card within the Detail form to following:
If(
!IsBlank(
LookUp('YourSPList',UserName=User().Mail,Question45)
),
true,
false
)
More details about the LookUp function in PowerApps, please check the following article:
LookUp function
Best regards,
Kris