cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jascox19
Level: Power Up

Data Tables and Collections

So I collected data, and some of the data I collected were specific values from dropdown boxes.  When I go to create a data table, those values don't show and [object Object] shows up. Furthermore, when I go to look at my collections, it looks like theres a collection within the collection, which is just the one value i need specific to the order.  Is there a way I can have that specific value show up in the data table?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Data Tables and Collections

Hi @Jascox19,

 

Could you please share a screenshot about your app's configuration?

How do you collect your data within your app? Could you please share more details about the formula?

Further, does your Dropdown box connect to a SP list data source within your app?

 

Based on the screenshot that you provided, I think there is something wrong with the formula that you use to collect your data within your app. In addition, I suppose that you collect a record value from the Dropdown box rather than a specific text value into your collection data.

 

I have reproduced your issue on my side, please check the following steps:2.JPG

 

3.JPG

 

Within the screen of my app, I add a Drop down control, which is connected to my SP list. If I collect data from the Dropdown control using the following formula:

Collect(
ShoppingCart,
{
Conduit:TextInput1.Text,
Conduit_x0020_Type:Dropdown1.Selected, /* <-- Collect data from Drop down control */
Quantity:TextInput2.Text
}
)

The collection would be shown up as below:4.JPG

 

5.JPG

The GIF image as below:Test1.gif

 

 

The Dropdown1.Selected formula would return a record (your current selection within the Dropdown box belongs to), so if you want to collect the current selection from the Dropdown box into your collection data, you should reference specific property value.

 

On my side, I should modify above formula as below:

Collect(
ShoppingCart,
{
Conduit:TextInput1.Text,
Conduit_x0020_Type:Dropdown1.Selected.Value, /* <-- refernece specific property value here */
Quantity:TextInput2.Text
}
)

Then the collection data would show up as below:6.JPG

 

7.JPG

 

Please check if you have provided a record value for the Conduit_x0020_Type (Pipe_x0020_Szie,...) column within your formula. If yes, please take a try to reference a specific property value from the Dropdown box within your Collection formula.

 

 

 

Best regards,

Kris

 

 

 

 

 

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
3 REPLIES 3
Super User
Super User

Re: Data Tables and Collections

Would you mind sharing your Collect statements? It seems that you are probably collecting a set of values instead of a single value somewhere.

Community Support Team
Community Support Team

Re: Data Tables and Collections

Hi @Jascox19,

 

Could you please share a screenshot about your app's configuration?

How do you collect your data within your app? Could you please share more details about the formula?

Further, does your Dropdown box connect to a SP list data source within your app?

 

Based on the screenshot that you provided, I think there is something wrong with the formula that you use to collect your data within your app. In addition, I suppose that you collect a record value from the Dropdown box rather than a specific text value into your collection data.

 

I have reproduced your issue on my side, please check the following steps:2.JPG

 

3.JPG

 

Within the screen of my app, I add a Drop down control, which is connected to my SP list. If I collect data from the Dropdown control using the following formula:

Collect(
ShoppingCart,
{
Conduit:TextInput1.Text,
Conduit_x0020_Type:Dropdown1.Selected, /* <-- Collect data from Drop down control */
Quantity:TextInput2.Text
}
)

The collection would be shown up as below:4.JPG

 

5.JPG

The GIF image as below:Test1.gif

 

 

The Dropdown1.Selected formula would return a record (your current selection within the Dropdown box belongs to), so if you want to collect the current selection from the Dropdown box into your collection data, you should reference specific property value.

 

On my side, I should modify above formula as below:

Collect(
ShoppingCart,
{
Conduit:TextInput1.Text,
Conduit_x0020_Type:Dropdown1.Selected.Value, /* <-- refernece specific property value here */
Quantity:TextInput2.Text
}
)

Then the collection data would show up as below:6.JPG

 

7.JPG

 

Please check if you have provided a record value for the Conduit_x0020_Type (Pipe_x0020_Szie,...) column within your formula. If yes, please take a try to reference a specific property value from the Dropdown box within your Collection formula.

 

 

 

Best regards,

Kris

 

 

 

 

 

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
jcox19
Level: Power Up

Re: Data Tables and Collections

This worked thank you!

Helpful resources

Announcements
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

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Users Online
Currently online: 201 members 4,699 guests
Please welcome our newest community members: