cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
chriskent
Regular Visitor

Using PowerApps Gallery with PowerBi data

I am designing my first app with Bi integration and need a hand. 

 

I have a dataset and report created in Bi with the following columns:

Unit Number, Model, Rent_Rate, Class

 

I am looking to search this data from a new gallery page within my power app but so far I am not able to get the returned results. 

 

I would prefer to be able to search by any of the fields above if possible.

 

I appreciate any guidance as this one seems simple but I just can't figure it out. 

1 ACCEPTED SOLUTION

Accepted Solutions
v-xida-msft
Community Support
Community Support

Hi @chriskent ,

Do you embed an canvas app into your BI report based on these checked Unit Number, Model, Rent_Rate, Class column using "PowerApps Custom Visual" option?

Further, do you want to search by any of these fields within your Gallery?

 

I have made a test on my side, please take a try with the following workaround (add a TextInput box in your app to act as TextSearchBox) :

4.JPG

 

5.JPG

If the Unit Number, Model, Rent_Rate, Class columns are all Text type column in your data source, please set the Items property of Gallery to following:

Search(PowerBIIntegration.Data, TextSearchBox1.Text, "Unit Number", "Rent_Rate", "Class")

 

If not all of these columns are Text type column, I think the Filter function could achieve your needs. Please modify above formula as below:

Filter(
        PowerBIIntegration.Data, 
        TextSearchBox1.Text in 'Unit Number' ||
        TextSearchBox1.Text in Model ||
        TextSearchBox1.Text in Rent_Rate || 
        TextSearchBox1.Text in Class
)

 

Please take a try with above solution, then check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-xida-msft
Community Support
Community Support

Hi @chriskent ,

Do you embed an canvas app into your BI report based on these checked Unit Number, Model, Rent_Rate, Class column using "PowerApps Custom Visual" option?

Further, do you want to search by any of these fields within your Gallery?

 

I have made a test on my side, please take a try with the following workaround (add a TextInput box in your app to act as TextSearchBox) :

4.JPG

 

5.JPG

If the Unit Number, Model, Rent_Rate, Class columns are all Text type column in your data source, please set the Items property of Gallery to following:

Search(PowerBIIntegration.Data, TextSearchBox1.Text, "Unit Number", "Rent_Rate", "Class")

 

If not all of these columns are Text type column, I think the Filter function could achieve your needs. Please modify above formula as below:

Filter(
        PowerBIIntegration.Data, 
        TextSearchBox1.Text in 'Unit Number' ||
        TextSearchBox1.Text in Model ||
        TextSearchBox1.Text in Rent_Rate || 
        TextSearchBox1.Text in Class
)

 

Please take a try with above solution, then check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

This resolved my issue on the computer (using Chrome) however it will not display the list on the mobile device via the PowerApp. 

 

Any ideas why this might be?

Hi! Were you able to display data from the dataset into a gallery? How is it done?

I’ve tried adding powerbi as a datasource but my only option is to call addrows and refresh.

Thanks!

When I bind the PowerBi Integration object to a gallery control, it does not give me any columns inside the dataset to bind it to gallery control

 

subinpius4u_0-1626071269773.png

 

 

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,324)