PowerApps Survival Tactic
Invalid argument type (Text). Expecting a DateTime value instead.
Sometimes a DateTime value read from your data source loses its "date-ness" and the numeric DateTime value gets interpreted as a String.
This solution converts the String back to a DateTime value as follows: String --> Numeric Value --> Formatted DateTime String --> DateTimeValue.
It's convoluted, but here is the code:
DateTimeValue( Text( Value( MyDateTimeValue ), "[$-en-US]mm/dd/yyyy hh:mm:ss") )
Same problem here, all of our applications using the CDS went down during a demo, this gives a really bad image to the product.
Please look into it.
Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.
Check out the new Power Platform Community Connections gallery!