cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Kaushik
Level: Power Up

Passing multiple values from a filter in power BI to PowerApps

Hello,

 

I have been trying to pass multiple selected values from a filter in power BI to powerapps. Following is the code i used to pass one selected value (Top most):

First([@PowerBIIntegration].Data).product_size

 

product_size is a multi-select dropdown filter present in the dashboard.

What should be the key word to be used instead of First in the above case to pass multiple values of the filter?

 

Thanks.

2 REPLIES 2
PowerApps Staff HemantG
PowerApps Staff

Re: Passing multiple values from a filter in power BI to PowerApps

This is not PowerApps component specific post, moving to general discussion. 

myke_deabreu
Level 8

Re: Passing multiple values from a filter in power BI to PowerApps

You could try the "in" function. 

Example: If you had a gallery called Gallery1 and the items were set to your PowerBIIntegration dataset you could use the following.

Filter(powerbiintegration.data, product_size in Gallery1.AllItems.product_size)

 

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 477 members 4,558 guests
Please welcome our newest community members: