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 / Invalid Argument Type ...
Power Apps
Answered

Invalid Argument Type using cascading filter

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a list in SP called 'Meeting Types' and am trying to get a cascading filter to work between the second and third drop downs (picture below).

 

The second drop down is from the SP field called 'MeetingType' (text) with the drop down being named 'SelectMeetingType'.

The third drop down is the SP field called 'MeetingDateTimeText' (text) and I only want this field to display available date/times that belong to that 'MeetingType'.

 

This is my formula that is giving me the 'Invalid Argument Type' with a squiggly under the equals sign.

 

Distinct(Filter('Meeting Schedule',MeetingType=SelectMeetingType.Selected.Value),MeetingDateTimeText)

 

What am I missing? 

 

Meeting Schedule.png

Categories:
I have the same question (0)
  • CarlosFigueira Profile Picture
    Microsoft Employee on at

    What is the expression for the Items property of the second dropdown (SelectMeetingType)?

  • Verified answer
    TimW Profile Picture
    82 on at

    Distinct(Filter('Meeting Schedule',MeetingType=SelectMeetingType.Selected.Value),MeetingDateTimeText)

    I just had the same problem, how about:

    Distinct(Filter('Meeting Schedule',MeetingType.Value=SelectMeetingType.Selected.Value),MeetingDateTimeText)

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    That worked!  Been fighting with this for days and all it took was a simple ".Value".  Thank you!

  • TimW Profile Picture
    82 on at

    PowerApps trying to be helpful with Sharepoint list shenanigans - it's going to take some getting used to 😄

    Glad I could help.

  • MK2005 Profile Picture
    5 on at

    Need some help with this formula on why it's saying it's an invalid argument at the "=" between "'Trainer(s) Assigned'.Value" and "ComboBox1.Selected.Items.Value,"

     

    Filter('CI Training Request Sandbox','Request Approval Status' <> "Denied", 'Trainer(s) Assigned'.Value = ComboBox1.SelectedItems.Value, Text('Assignment Start Date', DateTimeFormat.ShortDate) = Text(_dateSelected,DateTimeFormat.ShortDate))

     

    Trainer(s) assigned is pulling from a Choice Field from a SharePoint List.  The ComboBox1 was set to

     and pull the distinct field properly.

     

    If I remove that area of the formula, the gallery items populate correctly, albeit not filtered by the ComboBox selection.

     

    How can I get this corrected to filter properly with it included?

     

    Choices('CI Training Request Sandbox'.'Trainer(s) Assigned')

     

  • TimW Profile Picture
    82 on at

    @MK2005I think maybe you are using a combo (which can do multiple select) when you wanted a dropdown?

  • MK2005 Profile Picture
    5 on at

    Yes, that worked..is there a different way to do write it...had I used a Combo instead?

  • TimW Profile Picture
    82 on at

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 385

#2
Vish WR Profile Picture

Vish WR 367

#3
timl Profile Picture

timl 340 Super User 2026 Season 1

Last 30 days Overall leaderboard