Recently while trying to filter combo box Items we were getting the values but it was coming as blank instead of showing the name field.
Below is a sample Form – connected to Leads and Source Campaign is the combo box field (lookup to Campaign)
As we can see without applying the filter we can see the name (Display fields) populated.
Now let us try to filter it based on the Campaign Type field.
Here we have applied a single filter condition.
We can see the combo box getting filtered correctly.
Now we are introducing a variable just to filter it based on condition.
Till now filtering works as expected.
Now let us introduce else condition here.
We can see the combo box getting filtered but not showing the name field of the Campaign set as a display field. Through developer tools also, we don’t see the name returned in this case. The same is the case if we use multiple If or Switch in the formula.
The solution is to filter on Campaigns data source directly, instead of the corresponding Choice field in the Lead.
The result –
Hope it helps..
One thought on “Combo box showing blank values in case of multiple conditions – Canvas App (Dataverse)”