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 Apps
Answered

Error in Formula

(0) ShareShare
ReportReport
Posted on by 143

mel__0-1715219031505.png

Hi everyone, I have a set of formula here, where I put StartDate at the ApprovalDate date picker, CompleteDate at the TargetCompletionDate date picker and severityLevel at DropdownIssueSeverity dropdown. Before this this formula works well, but somehow this error keeps popping up, 

Screenshot (881).png

The above formula should have a result of when Level I is click, the target completion date will auto show the date after 4 days by skipping weekend/holiday and so on.

here is the sample of excel table, to read the date for the whole year of 2024, where 1 = holiday/weekend and 0 = workdays

NoDateCuti
11/1/20241
22/1/20240
33/1/20240
44/1/20240
55/1/20240
66/1/20241
77/1/20241

where Date column is in Date format, and Cuti column is in Number format.

Categories:
I have the same question (0)
  • Verified answer
    v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi , @mel_ 

    This error means that your CompleteDate variable cannot be converted to the specified data type.

    For example, we can not convert the number type to the Text type.

    vyueyunmsft_0-1715220249280.png

     

    So in your side , you can try to just rename your variable name to another to check if it can resolve the issue.

    CompleteDate --- >> CompleteDate1

     

    If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance! 

     

    Best Regards,

    Yueyun Zhang

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 883

#2
Valantis Profile Picture

Valantis 571

#3
11manish Profile Picture

11manish 477

Last 30 days Overall leaderboard