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 / 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:
  • 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 354 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 330

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard