Forum Discussion
Creating Dynamic Date Parameter for X-Axis in Power BI Dashboard
- Anonymous2 years ago
Hi manoj_0911 ,
What you need sounds like it could be accomplished with a Field parameter. When you create the visual object, put the Field parameter into the X-axis, and dynamically change the content of the x-axis display by what is selected in the slicer.
You can refer to this official documentation:
Let report readers use field parameters to change visuals (preview) - Power BI | Microsoft Learn
You can also refer to my reply in this thread:
Solved: Re: Switch a visual between two different dates - Microsoft Fabric Community
Alternatively, because of the relative complexity of the effect you are trying to achieve, perhaps using bookmarks would be a good option. That is, create a bookmark for all the visual objects you want to display and set the visibility, and create buttons for all the bookmarks. Then you can quickly switch to the bookmarked visual object by clicking on the button.
You can refer to the method in this thread:
Solved: chart type change on published bookmarks - Microsoft Fabric Community
Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi manoj_0911 ,
What you need sounds like it could be accomplished with a Field parameter. When you create the visual object, put the Field parameter into the X-axis, and dynamically change the content of the x-axis display by what is selected in the slicer.
You can refer to this official documentation:
Let report readers use field parameters to change visuals (preview) - Power BI | Microsoft Learn
You can also refer to my reply in this thread:
Solved: Re: Switch a visual between two different dates - Microsoft Fabric Community
Alternatively, because of the relative complexity of the effect you are trying to achieve, perhaps using bookmarks would be a good option. That is, create a bookmark for all the visual objects you want to display and set the visibility, and create buttons for all the bookmarks. Then you can quickly switch to the bookmarked visual object by clicking on the button.
You can refer to the method in this thread:
Solved: chart type change on published bookmarks - Microsoft Fabric Community
Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.