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 / Filtering dropdown cho...
Power Apps
Unanswered

Filtering dropdown choices on a PowerApps Edit Form with PowerBIIntegration.Data fields

(0) ShareShare
ReportReport
Posted on by 17

Hi, 

 

I'm working on a PowerApps integrating Power BI. The ultimate goal is for the users to add/edit/delete entries of a SharePoint list via PowerApps directly on the Power BI dashboard, with certain fields filtered on the dashboard data (PowerBIIntegration.Data.'Field') . 

 

The Power BI dashboard integrates an Oracle database as its datasource and features multiple slicers used as filters on the information that is shown (for example, if the user wants to see information for a certain period only, the tiles are filtered consequently with the value selected on the 'Period' slicer). 

I added a PowerApps tile to the dashboard. It uses some of the Oracle db fields also used for the filtering slicers. The PowerApp integrates a SharePoint list as a datasource for its add and edit forms. On the add form with autogenerated fields based on the SharePoint list, I have two dropdown fields that I want populated with the SharePoint list options but filtered with the data coming from my dashboard (PowerBIIntegration.Data), but PowerApps doesn't seem to allow it. How can I achieve what I want to do here?

 

I tried multiple syntaxes but nothing seems to work as expected. 

1. With Filter(Choices('ListName'.'FieldName'); 'FieldName' in 'PowerBIIntegration.Data.Field), nothing shows up in the dropdown;

2. With Filter('ListName'.'FieldName'; 'FieldName' in 'PowerBIIntegration.Data.Field), it thinks the types of 'FieldName' and 'Field' are not similar enough for a comparison;

3. And when I try to add 'Value' after Period, as follows : Filter('ListName'.'FieldName'; 'FieldName'.Value in 'PowerBIIntegration.Data.Field)

I get a dropdown list with multiple blank choices : 

Flora33_2-1603391495182.png

 

Thank you

Categories:
I have the same question (0)
  • Verified answer
    Flora33 Profile Picture
    17 on at

    For people who may need this, I finally found out the answer to my question here : https://powerusers.microsoft.com/t5/Building-Power-Apps/How-to-filter-choices-on-Combobox/td-p/101436 

    The function 'Choices' is required to show the items' values in a dropdown on Powerapps. The function basically takes the parameter and does a table with two columns, ID and Values. So I needed to reach the information in the latter as follows : 

    Filter(Choices(ListName.FieldName); Value = PowerBIIntegration.Data.Field)

     And this worked for me! 

  • CaptainDP Profile Picture
    31 on at

    @Flora33:
    You may know the solution how I can Filter 2 Choices?
    Something like:
    Filter(Choices(ListName.FieldName); Value = "xxx" And/Or "yyy")

    ? I would need this.
    Thanks

  • andiart Profile Picture
    on at

    It should be

     

    Filter(Choices(ListName.FieldName); Value = "xxx" || Value = "yyy") for OR

    and

    Filter(Choices(ListName.FieldName); Value = "xxx" && Value = "yyy") for AND

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard