web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / List objects in galler...
Power Apps
Unanswered

List objects in gallery based on dropdown control?

(0) ShareShare
ReportReport
Posted on by 103

I have added a gallery with the source from an excel online file called 'Table1'

In this file I have two columns: 'Office' and 'Week'

 

I would like to list the Offices that matches the selected week in the dropdown control. And the dropdown control should get the week from excel. Default value should be this ISOWeekNum.

 

 

Gallery 'Items'

Filter(Table1, 'Week' = "19", "19") <- static right now. Its week 19 so I would like to display the current week default...

 

Dropdown 'Items'

Table1.'Week' right now...

 

Need to get them to work together...

 

If I would like to count how many offices are tagged this week?

 

CountIf(Table1, 'Week' = ISOWeekNum(Date(Today)) does not seem to work, any ideas?

Categories:
I have the same question (0)
  • iDLIR Profile Picture
    50 on at

    Hi @fiddlerx ,

     

    Sorry i didn't get properly your question, but if you want to get the current working week, then this formula will definitively help you out:
    WeekNum( Now() ),WeekNum( Now() )+1)

    Thanks,

    iDLIR

     

    if this helped fix your issue, kindly mark it as solved to help others too.

  • fiddlerx Profile Picture
    103 on at

    It did not work well for me.,

    I would like to count from this column called Week

     

    CountIf(Table1, 'Week' = ISOWeekNum(Now())) but it does not work...

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard