Hi @R S ,
1) Add or ('All' in (@Parameter)) after the Where clause in the main dataset query;---DataSet1
SELECT company_id,FieldsB,FieldsC
FROM TableName
WHERE ('All' IN (:company_id)) OR (company_id IN (:company_id))
2)Add the "All" option to the query dataset. --DataSet2
SELECT 'All' AS company_id
UNION ALL
SELECT company_id
FROM TableName
Then set the parameter properties, select 'Get Values from a query' in Available Values, select Dataset 2 and the corresponding field in the drop-down list.
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.