Forum Discussion
Syndicate_Admin
Administrator
4 years agoI calculate in hours between two different record dates
Good morning community, I would need the following help. Currently I have different order numbers and in the factory they would need to know the difference in hours between the end of one order a...
Syndicate_Admin
Administrator
4 years agoHello again
Test the code and when I return this line the Time Measure column is displayed like this.
WHERE PreviousEnd = MAXX ( FILTER ( SelectedTable, Pmx[BDL_SIG_TIMESTAMP] < CurrentStart ), Pmx[CPK_SIG_TIMESTAMP] )
Another thing that keeps happening is when I press the Report button that is on the left hand side in Power Bi, a load icon appears at the top left of the visual and it takes about 2 minutes to load into the table.
Thanks a lot
Syndicate_Admin
Administrator
4 years agoI refer to this line
VAR PreviousEnd = MAXX ( FILTER ( SelectedTable, Orders[Start Date] < CurrentStart ), Orders[End Date] )
Rename in my code the table and the fields but it is still the same.
Thank you