Hi @s imam ,
The first case is that you only need five years of data in the entire report, and you can use a where statement to filter when you create a dataset query.
In the second case, you need eight years of data in your report, but you need to select single or multiple years of data at different times, and you could create parameters in this case.
- Create a second dataset that can be queried as
Select distinct Year From TableName
- In the first dataset, add the Where clause:
Where @Year=Year
, an parameter @Year was created. - Assign values to parameters through the second dataset.
- View the report rendering at this time.
If your issue is not resolved, please provide more details.
Best Regards,
Joy
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.