I have a form which contains a ComboBox DataCardValue92, based on a CDS column "Opportunity Status."
It's Items value is: SortByColumns(Choices([@Projects].'Opportunity Status'),"cr6a2_order")
Then I have another card on the form based on a date/time column. I want to use this to write the current date/time if and when the value of DataCardValue92 changes.
The Date box of this card is labelled DateValue5. Within the DefaultDate of that box, I am using this code:
If(ThisItem.'Opportunity Status'.Forecasting = DataCardValue92.Selected.Forecasting,Parent.Default, Now())
But I am receiving two errors in this code.
The first is for DataCardValue92, that "powerapps encountered an internal error trying to evaluate this expression."
The second is that "this formula uses scope which is not presently supported for evaluation."
Would anyone be so kind as to guide me where my code is going wrong?
Thanks!