cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
CMHants
Level: Powered On

Object Object Object when trying to surface collection in data table

HI Guys,

 

I finally figured out how to call a custom image classifier using the custom vision service ive made directly from PowerApps. Im using the following formula to do it

 

ClearCollect(PredictionOutcome,CustomVision.PredictImag("c56044c48086xx464595d6f28xxecc596axxb",UploadedImage4.Image))

 

this brings the results back from the API in a collection called prediction outcome, the prediction results are nested in a table within it.

 

My problem is i cant drill into the table to surface the values in a standard data table, i just see "[object object]," repeatedly separated by commas...is there a solution out there ? ....many thanks for your help

 

drilled down.PNGnesting_LI.jpgdrilled down.PNG

4 REPLIES 4
Super User
Super User

Re: Object Object Object when trying to surface collection in data table

Hi @CMHants

You should be able to display the Predictions for the first PredictionOutput record by setting the items property of your data table to:

First(PredictionOutcome).Predictions
CMHants
Level: Powered On

Re: Object Object Object when trying to surface collection in data table

hi @timl,

 

thanks that works great for the item tag or the probability but I need to show both, is it possible to extend your solution to multiple fields ..currently i've got two data tables next to each other 

Super User
Super User

Re: Object Object Object when trying to surface collection in data table

Hi @CMHants

I'm afraid I don't quite follow what you mean about two data tables next to each other. Do you not get something that looks like this?

image.png

Administrator
Administrator

Re: Object Object Object when trying to surface collection in data table

Hi @CMHants thanks for posting this thread. Can you review the latest reply and advise? Thanks!

 

@TopShelf-MSFT

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Demo Extravaganza Championship Voting Open

Voting Ends: October 30, 2019!

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 371 members 5,134 guests
Please welcome our newest community members: