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 / Help to combine / writ...
Power Apps
Unanswered

Help to combine / write together two variables

(0) ShareShare
ReportReport
Posted on by 3

Hi
I have two variables I would like to write together as they have to look at both parts in a dropdown. It gives me an error when I try to insert e.g. "or". How would you write these two together?
The meaning of the field is that only your own registered courses should be displayed when you log into the app

Filter(Attendee7Day;AttendeeAddress=varUserEmail)
and 

Sort(Distinct(Course7Day;StartAndLocation);Result; SortOrder.Descending)

Thanks in advance

Categories:
I have the same question (0)
  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    A combobox/dropdown can only have 1 datasource. You are trying to insert 2 different datasources, it is normal that it gives you an error

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,

    Gonçalo Nogueira

    Check my LinkedIn!

    My website!

    My blog!

  • NH90 Profile Picture
    3 on at

    @Nogueira1306 

    Al right. It make sense. But how can we get around this and fix it so it filters on both parts?
    Would like it to only show your own courses. Like currentUser. 

  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    The only way that I think of it you creating a collecting that joins both courses.. Like this:

     

    Collect(MyCourses; Filter(Attendee7Day;AttendeeAddress=varUserEmail));;

    Collect(MyCourses; Filter(Attendee7Day;AttendeeAddress=varUserEmail));;

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,

    Gonçalo Nogueira

    Check my LinkedIn!

    My website!

    My blog!

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 May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 392

#2
WarrenBelz Profile Picture

WarrenBelz 364 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 271 Super User 2026 Season 1

Last 30 days Overall leaderboard