Showing results for 
Search instead for 
Did you mean: 
Not applicable

PowerBI PowerApps Write-Back Via Hierarchy Selections In PowerBI Visuals



I have connected a Powerapps app to an excel table in OneDrive. The file contains a hierarchy starting with products and markets. I want users to be able to make decisions (notes) and write back to the data file. The trick is that I want it to scale based on where they are selecting in the hierarchy. So for example, if a customer has a region/product selected and enteres a note, I want all records that have that region/product to receive that note. If a user then decides to make more granular decisions (notes) at the market/product level underneath that region/product, then it overwrites any existing decisions there with the new ones.


Is Powerapps capable of doing that?



Community Support Team
Community Support Team

Re: PowerBI PowerApps Write-Back Via Hierarchy Selections In PowerBI Visuals

Hi @Anonymous ,

Do you want to update  product with new note and then update all the same product with this note?

If so, I suggest you try UpdateIf function.


I've made a similar test for your reference:

1)insert a drop down, a textinput and a button.

2)Set the drop down's Item: tablename

                                     Value: product name

3)Set the button's OnSelect: 

UpdateIf(tablename, product name=drop down1.Selected.product name,{notefield:textinput1.Text})



Here's a doc about this function for your reference:



Best regards,

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

Helpful resources


Power Apps Super User Class of 2020

Check it out!


New Badges

Check it out!


Power Apps Community User Group Member Badge

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


Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020


Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (4,947)