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 / 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:
  • 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard