cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Populate dropdown with PowerBIIntegration data?

Hi!

I am new to powerapps and trying to figure out the best practices for my first app which will be integrated into Power BI.

The main idea of my app is to collect comments from the users via form in which I need to have several dropdowns with the data fields that I have in Power BI and later collected data is stored in Excel.

So, I am trying to create a dropdown at form screen and set column from PowerBIIntegration datasource as an AllowedValues, but nothing seems to work. Is it even possibe to do it?

 

Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Populate dropdown with PowerBIIntegration data?

Hi @bonifacious 

Could you please share a screenshot about your issue?

Do you want to populate a Dropdown box with values from the PowerBIIntegration.Data?

Further, could you please share a bit more about the data set you used in your Power BI report? Is it a Excel table?

 

Based on the issue that you mentioned, if you want to populate a Dropdown box with values from the PowerBIIntegration.Data, please take a try with the following workaround:

1. I assume that the Data set you used in your Power BI report is a Excel table, please consider add the corresponding Excel table as data source within your embedded canvas app. Then connect the Edit form to the Excel table data source.

2. Within your Edit form, select the field data card which you want to configure as a Dropdown box. Then edit field, expand the corresponding field, then switch the Control Type to "Allowed values":

1.JPG

3. Set the Items property of the Dropdown box to following:

[@PowerBIIntegration].Data.ColumnName

set the Update property of the field data card which contains above Dropdown box to following:

DataCardValue3.Selected.ColumnName

Note: The ColumnName represents the column in your Excel table, which you want to display within the Dropdown box. If above formula could not work in your app, please set the Items property of Dropdown box to following:

Distinct('Your Excel Table', ColumnName)

set the Update property of the field data card which contains above Dropdown box to following:

DataCardValue3.Selected.Result

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

 

Test.gif

 

 

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

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Populate dropdown with PowerBIIntegration data?

Hi @bonifacious 

Could you please share a screenshot about your issue?

Do you want to populate a Dropdown box with values from the PowerBIIntegration.Data?

Further, could you please share a bit more about the data set you used in your Power BI report? Is it a Excel table?

 

Based on the issue that you mentioned, if you want to populate a Dropdown box with values from the PowerBIIntegration.Data, please take a try with the following workaround:

1. I assume that the Data set you used in your Power BI report is a Excel table, please consider add the corresponding Excel table as data source within your embedded canvas app. Then connect the Edit form to the Excel table data source.

2. Within your Edit form, select the field data card which you want to configure as a Dropdown box. Then edit field, expand the corresponding field, then switch the Control Type to "Allowed values":

1.JPG

3. Set the Items property of the Dropdown box to following:

[@PowerBIIntegration].Data.ColumnName

set the Update property of the field data card which contains above Dropdown box to following:

DataCardValue3.Selected.ColumnName

Note: The ColumnName represents the column in your Excel table, which you want to display within the Dropdown box. If above formula could not work in your app, please set the Items property of Dropdown box to following:

Distinct('Your Excel Table', ColumnName)

set the Update property of the field data card which contains above Dropdown box to following:

DataCardValue3.Selected.Result

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

 

Test.gif

 

 

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

Highlighted
Frequent Visitor

Re: Populate dropdown with PowerBIIntegration data?

Thank you, @v-xida-msft !

Basically I have 2 datasources for the app:
1) PowerBIIntegration from a reports which uses Oracle database.
2) Excel in which I want to store the results of the submitted form.

I do want some fields of the form to be populated by the PowerBIIntegration data and save them in Excel stored in OneDrive. I tried to add PowerBIIntegration as a datasource for values, but can't see anything (see attachment). Do I need to connect to Oracle in order to see data since the Power BI's datasource is Oracle.

 

Thanks!

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (9,470)