Forum Discussion
Cascade Parameter in powerbuilder
It seems like the issue you're facing is with the dynamic update of the parameters. To resolve this issue, you can try the following:
Re-run the query when the date range parameter changes. You can achieve this by setting the "Refresh Automatically" option to "On Change" in the data source properties.
Use a DAX expression to dynamically update the start month and end month parameters. You can use the following expression in the StartMonth and EndMonth parameters:
StartMonth:= MIN(@daterange) EndMonth:= MAX(@daterange)
- You can also try to modify the queries that use the StartMonth and EndMonth parameters to include a filter based on the date range parameter, like this:
Filter(MyTable, [DateColumn] >= MIN(@daterange) && [DateColumn] <= MAX(@daterange))
This way, when the date range parameter changes, the filtered data in the StartMonth and EndMonth parameters will also be updated.
I hope this helps you resolve the issue you're facing. Let me know if you need further assistance.