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 / Filter Choice Column B...
Power Apps
Answered

Filter Choice Column Based on Calculated Day Column

(0) ShareShare
ReportReport
Posted on by 658

Hi,

 

I have a club booking app and I have a calculated day column so if the club is on Monday, the number is 2, Wednesday is 4 for example. I have 5 separate screens in my app, one for each day. I would like to filter the choice column on the edit form so it only shows the clubs on a Monday. Could someone please advise on how to do this?

 

Thanks in advance.

Categories:
I have the same question (0)
  • Verified answer
    Ami K Profile Picture
    15,679 Super User 2024 Season 1 on at

    @BS10 - 

     

    It is difficult to visualise what you're trying to do.

     

    As I understand it, you have what I assume is a SharePoint list. This list contains a single-select Choice field. The choices contained in that field are the days of the week (Monday, Tuesday etc).

     

    You have another field in your list which is a calculated column. This displays a number value for each day entered in your list (which has already been populated with data).

     

    You have multiple Edit Form controls across 5 screens. In your Form, you have added the Choice field as a DataCard.

     

    You want to Filter the combobox control inside the DataCard on a specific number returned in the Calculated day column in your list.

     

    To do this, on the Items property of the Choice combobox in your Form, enter:

     

    Distinct(
     Filter(
     'Your List',
     'Your Calculated Column' = 1
     ),
     'Your Choice Field'.Value
    )
    

     

    On the Update property of the DataCard, enter:

     

     

    LookUp(
     Choices([@'Your List'].Choice),
     Value = 'Your Choice Combobox'.Selected.Value
    )

     

    However, I would recommend that you avoid using Calculated columns. These columns are very unwieldy and were created for the SharePoint user experience in mind. If the ultimate intention is for users to interact with the data using an app, I would replace the calculated column with a Number column, and then handle all calculations within your app.

  • BS10 Profile Picture
    658 on at

    Thank you Amik!

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 380 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 340

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 333 Super User 2025 Season 2

Last 30 days Overall leaderboard