Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I would prefer to execute a code or Dax to set slicers based on the person launching the report.
So can you let me know if there is an option to execute any code on report opening?
Thanks
Solved! Go to Solution.
Hi @Vimalaanand
You could try using paginated report. Prompt for username and then when report opens you can have slicers based on the person authenticated.
"Add interactive features such as document maps, show/hide buttons, and drillthrough links to subreports and drillthrough reports. Use parameters and filters to filter data for customized views."
Here's a good article to get you started: https://docs.microsoft.com/en-us/power-bi/paginated-reports/paginated-reports-report-builder-power-...
HTH,
Michele
Hi @Vimalaanand
You could try using paginated report. Prompt for username and then when report opens you can have slicers based on the person authenticated.
"Add interactive features such as document maps, show/hide buttons, and drillthrough links to subreports and drillthrough reports. Use parameters and filters to filter data for customized views."
Here's a good article to get you started: https://docs.microsoft.com/en-us/power-bi/paginated-reports/paginated-reports-report-builder-power-...
HTH,
Michele
Hi @Vimalaanand ,
What the results do you want? If you are trying to show the values of date while opening, you could use the relative date filter to filter slicer or use a relative date slicer directly. For more details, please take a good look at the document:
Creating a relative date slicer and filter in Power BI
If you want to show other values, you could try to create a measure to show them. For slicers, there is not a option to set them show while opening.
If there can't work for you, please share a few screenshots to let us understand clearly.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
106 | |
105 | |
79 | |
69 | |
62 |
User | Count |
---|---|
142 | |
105 | |
103 | |
85 | |
70 |