cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Brauni
New Member

Write Back with PowerApps not working for Collection

Dear Community,

 

I have created a PowerApp that is submitting my forecasted Revenue to my source excel file in One Drive.

Because the ForAll - Patch function was too slow, I created a collection.

Brauni_1-1673249693417.png

 

Now submitting the data from PowerApps works like a charm and my exact input is added to the Excel Sheet on One Drive.

Brauni_2-1673249707908.png

 

However, when submitting the data from PowerBi, it doesn't seem to be able to collect the input and runs with no data.

 

Are collections not working with PowerBi integration or do I need to adjust the formula?

The below formula works, but takes too long.

 

*ForAll(
Gallery.AllItems,
Patch(
Table1,
{Date:Text(lbl_newdate.Text)},
{Geographies:lbl_Geographies.Text},
{Country:DC_Country.Text},
{Type:"FC"},
{Month:lbl_Monthselected.Text},
{MonthID:lbl_MonthID.Text},
{Year:Drp_Year.SelectedText.Value},
{DateID:lbl_DateID.Text},
{CountryMonthID:lbl_CountryMonthID.Text},
{Revenues:Value(txtinput_FC.Text)},
{Date:lbl_newdate.Text}
))

 

0 REPLIES 0

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!