web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Making an historical t...
Power Apps
Unanswered

Making an historical table with a Collection but information accumulate between tickets

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

So, in my powerapps application, I am creating a historical table to store a ticket for every server blackout request that I send. It almost works, the only problem is: 

 

If I send one request with, for instance, SERVER1 and SERVER2 and the IUA [ABC], from StartDate 16/06/2023 13:30 to EndDate 16/06/2023 14:00, sent by my business email, it will work perfectly fine. But, if then I send another request with, for instance, SERVER3 and the IUA [DEF], from StartDate 17/06/2023 14:00 to EndDate 18/06/2023 14:30, sent by my business email, it will give me two tickets that are exactly the same, with:

 

StartDate 16/06/2023 13:30 - EndDate 16/06/2023 14:00                 //the Start and End Dates from the first sent ticket

IUA: [ABC], [DEF]

SERVERS: SERVER1, SERVER2, SERVER3

Sent By: myemail@example.commyemail@example.com

 

and instead it should give me:

 

- First Ticket:

StartDate 17/06/2023 14:00 - EndDate 18/06/2023 14:30            

IUA: [DEF]

SERVERS: SERVER3

Sent By: myemail@example.com

 

- Second Ticket:

StartDate 16/06/2023 13:30 - EndDate 16/06/2023 14:00                 

IUA: [ABC], [DEF]

SERVERS: SERVER1, SERVER2, SERVER3

Sent By: myemail@example.commyemail@example.com

 

 

I tried to clear the collection after sending the first and second request but obviously it didn't work, since it erased all the data from the collection, causing the historical table to be empty, as I anticipated. How can I solve this without clearing the collection and without accumulating the data from one ticket to another?

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Sorry, my old message has some errors in it, so, I will send it again, with all the correct examples.

     

    So, in my powerapps application, I am creating a historical table to store a ticket for every server blackout request that I send. It almost works, the only problem is: 

     

    If I send one request with, for instance, SERVER1 and SERVER2 and the IUA [ABC], from StartDate 16/06/2023 13:30 to EndDate 16/06/2023 14:00, sent by my business email, it will work perfectly fine. But, if then I send another request with, for instance, SERVER3 and the IUA [DEF], from StartDate 17/06/2023 14:00 to EndDate 18/06/2023 14:30, sent by my business email, it will give me two tickets that are exactly the same, with:

     

    StartDate 16/06/2023 13:30 - EndDate 16/06/2023 14:00                 //the Start and End Dates from the first sent ticket

    IUA: [ABC], [DEF]

    SERVERS: SERVER1, SERVER2, SERVER3

    Sent By: myemail@example.commyemail@example.com

     

    and instead it should give me:

     

    - First Ticket:

    StartDate 16/06/2023 13:30 - EndDate 16/06/2023 14:00                 

    IUA: [ABC]

    SERVERS: SERVER1, SERVER2

    Sent By: myemail@example.com

     

    - Second Ticket:

    StartDate 17/06/2023 14:00 - EndDate 18/06/2023 14:30            

    IUA: [DEF]

    SERVERS: SERVER3

    Sent By: myemail@example.com

     

    I tried to clear the collection after sending the first and second request but obviously it didn't work, since it erased all the data from the collection, causing the historical table to be empty, as I anticipated. How can I solve this without clearing the collection and without accumulating the data from one ticket to another?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 326 Most Valuable Professional

#2
11manish Profile Picture

11manish 168

#3
sannavajjala87 Profile Picture

sannavajjala87 75 Super User 2026 Season 1

Last 30 days Overall leaderboard