How to get two parameters linked together to show the correct value

I created two parameters (parameter A & parameter B). Parameter A is successfully added as a filter on the controls, and it works for me to filter all the visuals. However, I want parameter B (it has a default of whatever parameter A is), but it would not change even if I filter the visual equal to parameter A. Any approaches or solutions I can do?

An example I would like to show is that:
parameter A: Jack parameter B: orange
parameter A: Jones parameter B: apple

But what I get now:
parameter A: Jones parameter B: orange

Hi @Jane
is there a relationship between the two parameter values? So A is field “name” and B is field “fruit” or are they free text?
If you have a relationship. What about cascading values?
BR

I don’t think they have a relationship between them, so created parameter B and I just filled in with the string text field with whatever the value is for parameter A. So I know parameter A is Jack, and when I create parameter B, I just filled in text “orange”.

So you don’t use dataset field as value for the parameters?

This is what I see when creating the parameter.

How do you get to there to link to a dataset field?

Add the parameter as a control to the sheet/top and edit the parameter control settings.

Thank you! It works.