Hello Everyone,
I am trying to get a Switch expression where if you select Value1 in ComboBox1 then in ComboBox2 you have Option1 to Option3 to choose from. I am using the comboBoxes in a Form and I have Dataverse as my data source.
I am using this Switch formula, but it's not working.
Example:
If you choose Value1 on ComboBox1 then on ComboBox2 you have the choices of 1000, 2000, 3000.
If you choose Value2 on ComboBox1 then on ComboBox2 you have the choices of 1000, 2000.
Switch(
DataCardValue.Selected.Name,
"Value",
Filter(
Choices('Table Values'),
Value <> "1000" && Value <> "2000"
),
"Value",
Filter(
Choices('Table Values'),
Value <> "3000" && Text(Value) <> "4000"
),
Choices('Table Values')
)
If anyone has any idea how to accomplish the solution my problem.