cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

ThisItem statement not pulling through

I have a label that has this statement "Notes: " & Thisitem.AdditionalItems It doesn't give me a red x so it works and the notes appears but nothing pulls through. Has anyone seen this by chance?Excel_OneDrive.JPGThisitemstatement.JPG

17 REPLIES 17
wyotim
Resident Rockstar
Resident Rockstar

My bad! I forgot to add the .Text on the label item. Try:

 

"Notes: " & LookUp(Devices, Title = DeviceName.Text, AdditionalItems)

The reason for that .Text is so it knows to reference the Text field and not just the object itself. Again, my bad for leaving that out.

Anonymous
Not applicable

So that worked.. but unfortuantely we are back to the same issue with the ThisItem.Additionalitems

 

Nothing pulls through. Kind of strange. The character limit varies so it isn't a length issue

Thisitemstatement.JPG

wyotim
Resident Rockstar
Resident Rockstar

Dang. Sorry to work so hard at something only to be back to square one. I don't work with Excel all that often in PowerApps so there may be some quirk that I am unaware of. 

 

Just to double check, the Devices table is what is connected to the Data source of the gallery right?

Anonymous
Not applicable

No problem. I really appreciate your help and found a new tool to use in the future. 

 

Yeah the gallery is for devices. Thinking about moving the data to sharepoint to test

wyotim
Resident Rockstar
Resident Rockstar

That is a good thought. Not to throw too much at you but you could also use the Collect or ClearCollect function to pull the data into the app. It is a little easier to use and a bit faster performance as well. Best of luck to you!

 

Here is some info on Collect and ClearCollect, if you want to check that out.

"Notes: " & LookUp(ComputerList, Computers = ComputerTextBox.Text).AdditionalItems

 Have you tried this?

Hi, where would you place this piece of code? Somewhere within the canvas app creator? I am attempting this with using dataverse, having trouble with an item not being pulled through, so trying to find ways to troubleshoot.

@shavora if you use Collect or ClearCollect to grab your base data, I would do that OnStart. But remember that if you base the app on a collection, you will need to still upkeep the original datasource as well as the collection

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,518)