Hi @Cath_Tatham ,
Based on the formula that you mentioned, I think there is something wrong with it. I agree with @jlindstrom 's thought almost. If you want to filter the Status Reason choices based on the Status selection in your canvas app, I afraid that there is no direct way to achieve your needs.
The Relationship between Status Reason choices and Status choices could not be available in canvas app currently. Regarding your formula:
Filter(Choices('Status Reason (Quotes)', 'Status Reason (Quotes)'), Status='Status (Quotes)'.Qualified)
the Choices('Status Reason (Quotes)') formula would return a table value contains only the "Value" column, there is no column called "Status" in the Choices('Status Reason (Quotes)') formula result, so you could not specify the Status column as Filter column in your Filter function.
As an fixed solution, you could consider collect the Status option and related Status Reason Options in a collection, and then compare the DataCardValue59 selected option with the collection table. I have made a test on my side, please try the following workaround:
Set the OnStart property of App to following:
ClearCollect(
StatusCollection,
{'Status Value': 'Status (Quotes)'.Qualified, Value: 'Status Reason (Quotes)'.'Best Rates'},
{'Status Value': 'Status (Quotes)'.Qualified, Value: 'Status Reason (Quotes)'.'Favours ..'}, // replace 'Favours ..' with actual option value here from your Option Set
{'Status Value': 'Status (Quotes)'.Qualified, Value: 'Status Reason (Quotes)'.'Superior Service'},
{'Status Value': 'Status (Quotes)'.Qualified, Value: 'Status Reason (Quotes)'.'No Reason Provided'},
{'Status Value': 'Status (Quotes)'.Disqualified, Value: 'Status Reason (Quotes)'.'Lost to Competitor'},
{'Status Value': 'Status (Quotes)'.Disqualified, Value: 'Status Reason (Quotes)'.'No Feedback'},
{'Status Value': 'Status (Quotes)'.Disqualified, Value: 'Status Reason (Quotes)'.'Client Declined Cover'},
{'Status Value': 'Status (Quotes)'.Disqualified, Value: 'Status Reason (Quotes)'.'Canceled'},
{'Status Value': 'Status (Quotes)'.Disqualified, Value: 'Status Reason (Quotes)'.'No Reasons Provided'},
{'Status Value': 'Status (Quotes)'.Disqualified, Value: 'Status Reason (Quotes)'.'Other'}
)
Then set the Items property of the Status Reason ComboBox to following:
Filter(
Choices('Status Reason (Quotes)'),
Value in Filter(StatusCollection, 'Status Value' = DataCardValue59.Selected.Value).Value
)
Note: I assume that the 'Status Reason (Quotes)' represents the Option Set in your CDS.
Please re-load your canvas app, then check if above solution could fix your issue.
Also please check and see if the blog @jlindstrom provided above would help in your scenario.
Regards,