cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kaleyanne
Advocate I
Advocate I

Set the Default Value in PowerApps to Value from a PowerBI Dropdown

I built an app in PowerApps which is used to modify values in Sharepoint List, which is then rolled up and displayed on PowerBI dashboard. This dashboard is assessing the risk of certain suppliers. I added the PowerApps visual to a tab on my PowerBI dashboard so users can edit the supplier information. 

My question is: How do I pass the value from by Supplier Tab dropdown to the PowerApp Default Setting? My PowerBI & PowerApps are attached for reference. 


I set the PowerApp dropdown default to the following but it is not accepting this: 

LookUp(PowerBIIntegration.Data,Risk_x0020_Title=First(PowerBIIntegration.Data),Risk_x0020_Title)

 

I used Risk Title (as this is the PowerBI name) vs. OData_RiskTitle (as this is the Sharepoint Name) but neither work. 

 

I was trying to leverage step 4 here for how to build this: 

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/powerapps-custom-visual

2 REPLIES 2
v-monli-msft
Community Support
Community Support

Hi @kaleyanne ,

 

The formula in Items property shows that the data source of this dropdown is the SharePoint list, but you are using the Power BI data as the Default item in this dropdown contorl. 

 

Also, what is the column type of OData_RiskTitle in SharePoint?

 

Regards,

Mona

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

Thanks Mona for the reply - 

 

RiskTitle in my Sharepoint List is Single line of text.

I tried changing Items = PowerBIIntegration.Data.Risk_x0020_Title which is not accepted. It will accept PowerBIIntegration.Data.OData_RiskTitle but no values show up in the drop down, because _RiskTitle is not in Power BI.

 

It appears that PowerApps doesnt know what has been passed to it from BI. 

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Top Solution Authors
Top Kudoed Authors
Users online (29,879)