Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hello,
I have created a page navigation button with conditional formatting for the target page. The target page is set to "None" when the button should be disabled.
I have set the text for the disabled state (under button text) but it is not triggered. When doing the same using a drillthrough button, the disabled state of the button is triggered when the target is set to "None", but not when the action type on the button is page navigation.
Try clicking on the entries in the table in Page 1 and notice the effect on the buttons on the right.
Kindly inform how to set the button state to disabled when using page navigation as the action type for the button.
Solved! Go to Solution.
Thanks @v-lionel-msft
This workaround works!
1. Use conditional formatting to change the button color and text to simulate a disabled state
2. In the page navigation conditional formatting, set the button to navigate to the same page name it is displayed on.
Still, the disabled state of the button itself is not triggered when the action is of type page navigation instead of drill through so I hope you would submit that as a bug to the product team.
Best regards,
Youssef
Hi @youssefyoussef ,
Please refer to my .pbix file.
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Dear @v-lionel-msft
This does not solve my issue. I would like to make the button disabled and make the button not clickable instead of users clicking the button and showing an error message.
If you check the drillthrough button in my sample, you will find the desired behaviour.
I tried to change the button text for the disabled state in your sample, but that text is never displayed on the button.
Hi @youssefyoussef ,
"This does not solve my issue. I would like to make the button disabled and make the button not clickable instead of users clicking the button and showing an error message."
You just need to modify the [Active] measure.
There is no feedback when you click the gray button.
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks @v-lionel-msft
This workaround works!
1. Use conditional formatting to change the button color and text to simulate a disabled state
2. In the page navigation conditional formatting, set the button to navigate to the same page name it is displayed on.
Still, the disabled state of the button itself is not triggered when the action is of type page navigation instead of drill through so I hope you would submit that as a bug to the product team.
Best regards,
Youssef
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
93 | |
85 | |
83 | |
72 | |
49 |
User | Count |
---|---|
142 | |
137 | |
110 | |
69 | |
55 |