A couple of things
1. What timezone are you in?
2. can you please add 2 compose above your condition (within your apply to each)
Compose one, put utcNow
3. In the second one put item()?['dueDateTime']
4. Add one more compose (sorry I should have said 3)
put tem()?['percentComplete']
Save your flow.
You do NOT have to run your code etc again just do this.
1. Once you save your flow click the little blue arrow (top left) and go back to the details page
2. Click on the Top flow run (click the time it shows) it will open that run
3. Click Resubmit
4. It will automatically act as if those compose existed before
5. Now you can visually compare the dates and times and the perfect, because I am thinking its a UTC conversion to your timezone issue.
So my guess is.. you will not have any, but you can then easily see if
a) the values are the wrong time zone for Planner versus utc and we can fix that by converting the time zone
b) if anything is null
c) that for some reason... they do not all say 100 as a bug
Cheers
If these suggestions help resolve your issue, Please consider Marking the answer as such and also maybe a like.
Thank you!
Sincerely, Michael Gernaey