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
May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Submit your Data Story

Data Stories Gallery

Share your Data Story with the Community in the Data Stories Gallery.