Forum Discussion
How to set slicer value to first available value form table?
Anonymous When the original file is saved, it is saved with whatever values were set in both filters and slicers. I would suggest updating the source report to remove that original value... Or is there a need to have the first value selected regardless of data?
Anonymous There is a need to default the slicer based on the data available in the data source.
Let me just clarify the requirement. Let's say there is a Product slicer with the single select option enabled, and while publishing the report we have set the default value to Product X. Within the source, we have updated the name of that particular product to Product XY.
So, now, our report will display two values in the Product slicer.
- Product X (default selection but not available in the database)
- Product XY
Kindly note that we are using Direct Query as the connection mode.
I hope the issue is clear now, let me know if there is a solution or workaround to resolve this issue. I will be happy to share further details if required.
Any help will be highly appreciated.
Thanks,
Sakshi