Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I have created a custom date slicer visual. We are hiding/unhiding it with bookmarks in our report. Because of this the visual is destroyed when it is hidden and re-rendered when unhidden.
I can use persistProperties to save the selected date range and retrieve it when the visual is unhidden. My issue is that on first load of the report I would like the date slicer to defualt to YTD calculation. How can I distinguish between the frist time the visual is rendered and subsequent renders after the visual is hidden and unhidden?