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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
ashish_18
Helper III
Helper III

PowerBIIntegration Data not population column in powerapp form

Hi Team,

Not sure if I can post my question here but its related to PowerBIIntegration.Data in powerapp.

I have powerbi report in pbi desktop where I am pulling table list from excel file. Table list has Chnage Number as key field. I have used powerApp visual using Change Number from same tabel list. It navigated me to powerapp studio and I created form using same excel list as my data source. In that form ,I want record to be selected to update other fields related to selcted change number. For that I am using Lookup item using PowerBIIntegration.Data but its not populating any data.

 

I am uisng below function in Item - LookUp('Manual3',Title=First(PowerBIIntegration.Data).Change Number) 

Manual3 is datasource (online excel file) for form. After PowerBIIntegration.Data,its not populating any column in function.

 

Not sure what I am misisng here. Error says Chnage number not valid/not found

 

ashish_18_0-1731733569265.png

 

Can somebody please help here. Really appreciate your input.

14 REPLIES 14
Jai-Rathinavel
Solution Sage
Solution Sage

@ashish_18 , I also faced the same issue when building a power app form directly from desktop. The issue got sorted once I created a power app form directly by editing the report on service like below, it will also redirect you to the power apps editor to build your form.

Note: You have to build the form from scratch in service ! Inorder to populate the data and get PowerBIIntegration.Refresh() option.

 

JaiRathinavel_0-1732521836239.png

 

Did I answer your question ? If yes, please mark this post as a solution.

 

Thanks,

Jai

HI @Jai-Rathinavel ,

 Thansk for this insight. I have followed fromm service and its populating now.However I m facing another error in powerapp now. When I use Lookup Item to pull powerbiIntegration.Data object,I m getting below error in Lookup Item

"Error when trying to retrieve data from the network: Syntax error at position 13 in 'Change Number eq null'. inner exception: Syntax error at position 13 in 'Change Number eq null'. clientRequestId: 29efd17b-e6e3-4279-be1f-68b055192a4c"

 

ashish_18_0-1732544475079.png

 

script used for Lookup is as below 

LookUp(Manual3,'Change Number'=First(PowerBIIntegration.Data).'Change Number')
 
Manual3 is a online excel list(table) which one should be selected on powerbi visual so that user can edit record. Change Number is Text field.
Its not allowing to compare Text to Text field in Lookup. There is no error in excel file. 
 
Really appreciate if u have any insight on this.

@ashish_18 Try

 

 LookUp(Manual3,Text('Change Number'=First(PowerBIIntegration.Data).'Change Number')

 

tried with it,its giving error

ashish_18_0-1732547157889.png

 

@ashish_18 oops ! Try the below formula


LookUp(Manual3,Text('Change Number')=First(PowerBIIntegration.Data).'Change Number')

 

with new formula its giving error for data source --red line under Manual3

ashish_18_0-1732550145944.png

and giving warning for change number for Text

ashish_18_1-1732550203506.png

 

 

@ashish_18  Can you share the sample values for your change number ? 

CHG0798359
CHG0803654
CHG0805549
CHG0798865
CHG0797978
CHG0806858
CHG0806848
CHG0806055

@ashish_18 can you try adding another column called Change_Number_Only by removing "CHG" from the values and use it as a number column. Now use this new column in the lookup and check. Make sure you add this column to your power apps visual too.

 

Thanks,

Jai

Hi @Jai-Rathinavel 

 I have created new number column in powerbi dataset for that excel file (Manual3) --Not in actual excel file located in machine.  I have used this number field in powerapp visual and navigated to powerapp Studio. In Lookup table Manual3,Change Number is still Text field and its giving error when I compare it with powerbi object -New Number.. I cant make Change Number field to number in actual excel file (Manual3) which is data connector within powerapp otherwise selection wont work.

 

ashish_18_0-1732576799176.png

 

Sure @Jai-Rathinavel , I will try it.. It may work as it will be number value. Not sure why Text doesnt work with Lookup script

Expiscornovus
Solution Sage
Solution Sage

Hi @ashish_18,

 

Can you expand the intellisense, the red marking should also give you an error message. This will help with troulbeshooting.

 

Did you create the Power App from the Power BI service interface Power BI visual and did you follow the below steps?

https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/powerapps-custom-visual#using-the-pow...

 

Also make sure you are not hitting any of the below limitations of the visual:

https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/powerapps-custom-visual#limitations-o...

 



Happy to help out 🙂

I share #PowerAutomate and #SharePointOnline content on my Blog, Bluesky profile or Youtube Channel

Hi @Expiscornovus ,

 Thanks for your detailed response. I have gone through the article information which you provided and I have followed the same. Not sure where is the gap. 

My powerbi report also published to powerbi service within workspace.

 

I am following below steps--for your reference,

Powerbi desktop--Created list visuals with Number field from excel file.Added powerApp from visualization pane and linkede to "Change Number" field from datasource-Manual3 (this is excel file from my one drive where I want to write all data related to that Change Number field .

 

ashish_18_0-1732024558276.png

 

Clicked on Create New app--->powerApp studio-->it  opened default tree view  with screen1 without any gallery --as below

 

ashish_18_1-1732024680761.png

Selected Screen1 -->Item-->Edit form-->added source data as Manual3 and pulled fields. Its showing all empty fields as below.

 

ashish_18_2-1732024863983.png

 

Form1-->Item  from left top corner dropdown-->added formula like

LookUp(Manual3,'Change Number'=First(PowerBIIntegration.Data).Number)
Change Number onject automatically popped up so didnt write Title=
First(PowerBIIntegration.Data) object also pops up but after Data).  Number (unique field/key) doesnt come up. After Data it doenst populate any data.

ashish_18_3-1732025027957.png

 

ashish_18_4-1732025289222.png

When hovered on Number,red error shows message as 

Name isn't valid. 'Number' isn't recognized.

 

ashish_18_5-1732025318545.png

When hovered at = sign,it says Text cant be compared. Both the fields are Text in data source (Change Number from Manual3 table and Number from master source file used in list visual in pbin desktop report)

 

Not sure where I am missing any gap here.

ashish_18_6-1732026347966.png

 

HI @Expiscornovus ,Thanks for your detailed response.

 

I have gine through article and steps you mentioned and followed the same. Not sure where I am missing anything. I am doing following steps.

 

Created list visual in powerbi desktop and added powerapp visual from visualization panel and added field as "Number" from datsource list. This report is already published to powerbi webservice within workspace.

After click on create New app --> Go to power App Studio ---> it opens default screen1 without any data as shown in below snapshot left side. Under screen1-->Insert->edit form--form1-->added datasoruce as 'Manual3' table which is excel list presebt in my one drive.

After adding fields,it still shows nothing. Change NUmber is field in Manual3 table which should have data.

 

Selected form1-Under Item-wrote formula 

LookUp('Manual3','Change Number'=First(PowerBIIntegration.Data).Number)
Manual3 is datasource table where I need to write data associated to record. 'Change Number' automatically came while selecting 'Title=' hence used Change Number' 
First object also works and (PowerBIIntegration.Data)also populate  but after data. it should populate unique keyword/field Number but it doenst show anything. Its giving error Name isn't valid. 'Number' isn't recognized.

Not sure what I am missing here. 

 

 

FRom powerbo desktop

 

ashish_18_1-1731969277200.png

 

ashish_18_0-1731969208457.png

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.

Top Kudoed Authors