Page 1 of 1

Dependent Variable did not refresh value

Posted: Thu Mar 07, 2024 6:55 am
by yuns
Hi,

I have the following data
Year, Month
2023, 12
2023, 11
2023, 10
2022, 5
2022, 4

I created 2 variables (Year and Month) with 'Month' is dependent on 'Year'
Both of which has the initial selection set to First and both sort by descending

When I first load the report, my Year is set to 2023, and month is set to 12 (Which is correct)
However, when I change Year to 2022, Month is still displayed 12 (but the dropdown selection is updated to 5 and 4).
It does not dynamically change to 5. Is there a way around this?

Re: Dependent Variable did not refresh value

Posted: Fri Mar 08, 2024 2:46 pm
by HighAley
Hello,

We have checked this feature.
The values are updated.

Maybe the Allow User Values option is enabled?
Then the value will be the same.

Thank you.

Re: Dependent Variable did not refresh value

Posted: Tue Mar 12, 2024 7:32 am
by yuns
Hello,

do you have a sample report that you can show me?

Does the data type makes a different?
Because I have another scenario where my master variable is a string, and my second variable is an int (which is dependent on my master variable), and a third variable which is also an int (Which is dependent on my second variable)

Re: Dependent Variable did not refresh value

Posted: Tue Mar 12, 2024 7:59 am
by Lech Kulikowski
Hello,

Please check the sample report:
https://demo.stimulsoft.com/#Net/Parame ... tParameter

Thank you.

Re: Dependent Variable did not refresh value

Posted: Wed Mar 13, 2024 2:37 am
by yuns
Hello,

Thank you for the link.
I manage to do it on my end. However, is there a way for 1 variable to have 2 dependencies?

Re: Dependent Variable did not refresh value

Posted: Wed Mar 13, 2024 9:25 am
by Lech Kulikowski
Hello,

Unfortunately, no.

Thank you.