I just published survey123 form; however, I am trying to create a dashboard from the layer (survey123) and it is showing "no query capability on layer".
Any tips on how to enable the capability?
You may have more success posting this question in the 'Survey123' community instead of 'My Esri'. A forum moderator will be able to move it.
How are you adding the layer to dashboards? There is a note here around using GUID instead of ObjectID that may be relevant:
Did you create the form in Survey123 website or Survey123 Connect?
Which layer are you adding? i.e. the Hosted Feature Layer or one of the Fieldworker/Stakeholder Hosted Feature Layer Views?