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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Split a row in multipl...
Power Apps
Unanswered

Split a row in multiples days if DateStart < DateEnd

(0) ShareShare
ReportReport
Posted on by 413

Hi there .

 

Tricky issue: I understimate a situation in my powerapps and now I have a problem with grops of data.

 

Calcioscacchi_1-1675387014315.png

 

As you can see above, I have some rows in my list with DataStart(Inizio) and DataEnd(Fine).

 

I need to group the data in PBI grouping by "Inizio" and "work_center_id" and summarize all the durations.

Indeed, There can't be a day with duration > 1440 minutes. 

 

But I have these rows where Inizio<Fine. 

 

I really need somenthing (also a button to press when needed) that check all the rows of my list and, when Inizio<Fine,  splits those rows in multiple rows with Inizio = Fine

 

So ,from this:

 

IDLineawork_center_idEventoInizioFineMinuti DurataVelocitàMetri TeoriciOperatoriData/ora creazioneData/ora modificaAutoreFasceVersione_AppModificato da
10571212010000086GUASTO IMPIANTO13/01/2023 19:5617/01/2023 14:075.411 0213/01/2023 19:5617/01/2023 14:07Taglio 11 2.2.1

Taglio 11

 

 

 

 

to this:

 

IDLineawork_center_idEventoInizioFineMinuti DurataVelocitàMetri TeoriciOperatoriData/ora creazioneData/ora modificaAutoreFasceVersione_AppModificato da
10571212010000086GUASTO IMPIANTO13/01/2023 19:5613/01/2023 23:59244 0213/01/2023 19:5617/01/2023 14:07Taglio 11 2.2.1Taglio 11
10572212010000086GUASTO IMPIANTO14/01/2023 00:0014/01/2023 23:591.440 0203/02/2023 02:2903/02/2023 02:29Taglio 11 2.2.1Taglio 11
10573212010000086GUASTO IMPIANTO15/01/2023 00:0015/01/2023 23:591.440 0203/02/2023 02:2903/02/2023 02:29Taglio 11 2.2.1Taglio 11
10574212010000086GUASTO IMPIANTO16/01/2023 00:0016/01/2023 23:591.440 0203/02/2023 02:2903/02/2023 02:29Taglio 11 2.2.1Taglio 11
10575212010000086GUASTO IMPIANTO17/01/2023 00:0017/01/2023 14:07847 0203/02/2023 02:2903/02/2023 02:29Taglio 11 2.2.1Taglio 11

 

 

 

Actually, this should be just a fix.

 

I know that I need something to split my rows at the creation, because in my list some columns are calculated. This will be another question 🙂

 

Some ideas? Thanks.

 

Categories:
I have the same question (0)
  • BWWorkflows Profile Picture
    2 on at

    did you get any solution for this please provide how to achieve this problem

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard