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

Repeating data

Hello,
I've created a repeating data learned from Shane Young's YouTube instructions: https://www.youtube.com/watch?v=HUX_0AA4-Hs

 

I followed  instructions which worked but for me i only need on 1 SharePoint list as i repeat only few data for the same customer like example if customer ship but they ship 2 boxes same day i wanted like something it can only repeat this on same SharePoint list, so it record that customer twice with the two shipment details as i am newbie and still struggling it will be hard for me to join 2 SharePoint list 😫

 

TrackingNumber
Weight
Length
DeclaredValue
CODAmount
FreightCharges
Width
Height

 

Any ideas?

 

Thanks 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Repeating data

Hi @Ramole, the problem you are running into in which an extra row gets added to the list is because you are submitting the form and then using LastSubmit to fetch the values to add to your repeating rows. The problem with that approach is that the form submission adds a new row, which you don't want. So use the values from the form by referencing the datacards directly in your Patch instead of using Form.LastSubmit. This way you will not get the extra row that you are getting.

Let me know if this helps.

---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

Thanks!
Hardit Bhatia
https://thepoweraddict.com

View solution in original post

19 REPLIES 19
Community Support Team
Community Support Team

Re: Repeating data

Hi @Ramole ,

 

Which fields are the ones that you want to repeat the data and which ones you want to set different data? What are the field types?

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Ramole
Level: Powered On

Re: Repeating data

Hi @v-monli-msft 

 

Here the repeating data 

CollectonDelivery      Yes/No Item

CompanyName        Lookup Item

Note                        Single line of text Item
Order date              Date and Time Item

Order Status           Choice Item

Shipping Method  Choice Item

Shipping Route    Choice Item

 

Here's different data

 

TrackingNumber  Single line of text

TotalPieces          Number
Weight                Single line of text
Length                Single line of text
DeclaredValue    Currency
CODAmount      Currency
CODType            Choice

FreightCharges  Currency
Width                Single line of text
Height              Single line of text

 

Thanks 

 

Ramole
Level: Powered On

Re: Repeating data

@v-monli-msft 

 

Any luck on how to setup please ? Will really appreciate your help.

 

Thanks 

Ramole
Level: Powered On

Re: Repeating data

Hi Experts,

I desperately need to solve this repeating data on same SharePoint List here the list columns also attached screenshots and formula please help Thanks 

 

Repeating data 

CollectonDelivery      Yes/No Item

CompanyName        Lookup Item

Note                        Single line of text Item
Order date              Date and Time Item

Order Status           Choice Item

Shipping Method  Choice Item

Shipping Route    Choice Item

 

Different data to record next line

 

TrackingNumber  Single line of text

TotalPieces          Number
Weight                Single line of text
Length                Single line of text
DeclaredValue    Currency
CODAmount      Currency
CODType            Choice

FreightCharges  Currency
Width                Single line of text
Height              Single line of text

 

 Repeating Data.png

Repeating Data formula.png

Ramole
Level: Powered On

Re: Repeating data

Hi Everyone,

 

Anyone can please help me with this please please i am stuck on this 

 

Thanks 

 

Repeating data 

CollectonDelivery      Yes/No Item

CompanyName        Lookup Item

Note                        Single line of text Item
Order date              Date and Time Item

Order Status           Choice Item

Shipping Method  Choice Item

Shipping Route    Choice Item

 

Different data to record next line Repeating data the top 

 

TrackingNumber  Single line of text

TotalPieces          Number
Weight                Single line of text
Length                Single line of text
DeclaredValue    Currency
CODAmount      Currency
CODType            Choice

FreightCharges  Currency
Width                Single line of text
Height              Single line of text

Ramole
Level: Powered On

Re: Repeating data

Hi 

 

is there anyone can help on this please ?

WarrenBelz
Level 8

Re: Repeating data

Hi @Ramole ,

Firstly, you need a common "key" between the lists. There must be one field with the same value to "link" them.

The obvious one I can see is CompanyName, which needs to exist in the other data set.
After that, it is just a matter of filtering the second list based on the company name in the record displayed in the first one.

 

Ramole
Level: Powered On

Re: Repeating data

Hi @WarrenBelz
I wanted to use one SharePoint List for repeating example below is one list and all i wanted is to repeat only some fields like green color fields 

 

Here the repeating data 

CompanyName        Lookup Item

CollectonDelivery      Yes/No Item

Note                        Single line of text Item
Order date              Date and Time Item

Order Status           Choice Item

Shipping Method  Choice Item

Shipping Route    Choice Item

 

Here's different data

 

TrackingNumber  Single line of text

TotalPieces          Number
Weight                Single line of text
Length                Single line of text
DeclaredValue    Currency
CODAmount      Currency
CODType            Choice

FreightCharges  Currency
Width                Single line of text
Height              Single line of text

 

 

WarrenBelz
Level 8

Re: Repeating data

Hi @Ramole ,

 

I understand, but you need at least one field in both lists to be the same. This is the basic principle of relational data.

I have now found your screenshot further back in the post and what you appear to want to do is to repeat the "different" red data.

So you have a heap of orders for a company on an order date and you want to see all the tracking number information.

If this is the case, the two fields "Company Name" and "Order Date" need to be in the "Red" table

OR

are they all in the same table (you have not specified this). If this is the case, you need to do some work with collections to separate the data so you can display the multiple items against a single item source. You might start with this video from Shane Young

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (4,502)