Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Time Away app #50

Closed
IamNivek opened this issue Dec 15, 2021 · 4 comments
Closed

Time Away app #50

IamNivek opened this issue Dec 15, 2021 · 4 comments

Comments

@IamNivek
Copy link

I have tried for hours to get this working. I have deleted the lists and recreated them multiple times exactly as it states in the ReadMe, but the app does not work. I have changed the data sources and followed the instructions exactly, but there are errors everywhere. Is this supposed to be a working app or is there more to it that I am missing.

Keep in mind, I am very new to PowerApps, so I'm sure it's just me!

image

"data:image/svg+xml," & EncodeUrl(
"


<circle class='donut-segment' cx='21' cy='21' r='15.91549430918954' fill='transparent' stroke='#d2d3d4' stroke-width='3' stroke-dasharray='" & ThisItem.RequestedTimeOff / ThisItem.'TimeOffType:Allotted Time'.Value * 100 & " " & (100 - ThisItem.RequestedTimeOff / ThisItem.'TimeOffType:Allotted Time'.Value*100) & "' stroke-dashoffset='25'>
"
)

@IamNivek
Copy link
Author

OK, I think I have managed to fix some of the formulas, but this one is still giving me problems:

image

I am not sure why it's saying it is division by 0 as I have >0 values in all my allotted time entries on the SPL.

@Tamara-Tarhe
Copy link

Hi, Please could you share how you resolved the division by zero error.

Thanks

@IamNivek
Copy link
Author

Hi, Please could you share how you resolved the division by zero error.

Thanks

I never did. Gave up and created my own app. It does not use the SVGs as I couldn’t never get it to work. Started from scratch.

@DomVizor
Copy link

DomVizor commented May 8, 2022

Do you have a project up as I'm having the same issues, declined days are being deducted and the zero error persists. Any help would be great :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants