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 / Incompatible types err...
Power Apps
Answered

Incompatible types errors & Creating action list from IDs

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi all,

 

New to powerapps and having a bit of a nightmare with lists currently.. would really appreciate help.

 

I have a list called 'Risk Event Actions' where several actions are linked to the same ID number, which is pulled in via lookup from another sheet.

 

I'm trying to create a dropdown list in powerapps that pulls in the individual ID numbers, and then will filter a gallery to show the actions associated with that ID number.

So far I have a dropdown that has the formula Choices([@'Risk Actions Sheet'.'Risk ID') which seems to be successfully pulling through the individual IDs from the Risk actions sheet as Values.

 

Next I have a gallery which has a column labelled 'PulledinID' with the formula ThisItem. 'Risk ID', and then several other columns pulling info. The Dropdown is called 'ActionsFilter'.

 

In the gallery I've tried the formula Filter('Risk Actions Sheet',PulledinID=ActionsFilter.Selected.Value). And am now getting the error that control and text cant be compared.

 

I'd really appreciate some guidance on a gallery formula to make this work, or if I've missed something along the way to allow IDs to correctly pull in info?

Categories:
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Anonymous 

    Try

    Filter('Risk Actions Sheet',PulledinID.Value= ActionsFilter.Selected.Value).

  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    Could you please share more details about your scenario?

     

    It seems like you have only one SharePoint list 'Risk Event Actions', so why you are filtering on 'Risk Actions Sheet'?

     

    Please try below formula instead (I assume PulledinID is a Text column within Risk Event Actions list):

    Filter('Risk Event Actions',PulledinID = ActionsFilter.Selected.Value)

     

    Best regards,

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 394 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

Last 30 days Overall leaderboard