Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors