Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Enable buttons in PowerBI when certain condition occurs and on cliking the button navigate to other

I am newbie in Power BI. I am receiving some real time data, the objective is used to enable button when a column with value say "0" is received. And on clicking the button one should navigate to another page. Till now I have added buttons and on clicking I can navigate to the other page but I want it to have dynamically with the above condition.

It is like some error has occurred(enable the button) and one should move to another page to see that error.

1 ACCEPTED SOLUTION
v-luwang-msft
Community Support
Community Support

Hi @Anonymous ,

Has your problem been solved, if so, please consider Accept a correct reply as the solution or share your own solution to help others find it.

Best Regards
Lucien

View solution in original post

3 REPLIES 3
JosephH
New Member

A work around that has worked for me is the following:

 

1. Write a measure: IF([ColumnValue=0], "New Page Name", "Current Page Name")

2. To your button, add 'Page Navigation' as your action.

3. Base the page navigation off the above measure (under fx):

JosephH_0-1706783289264.png

The result of this should be a button that takes you to a new page if ColumnValue=0, else the button will keep you on the current page. 

 

To show and hide the button further, the following article is useful, as @jaideepnema mentioned: https://exceleratorbi.com.au/show-or-hide-a-power-bi-visual-based-on-selection/

v-luwang-msft
Community Support
Community Support

Hi @Anonymous ,

Has your problem been solved, if so, please consider Accept a correct reply as the solution or share your own solution to help others find it.

Best Regards
Lucien

jaideepnema
Solution Sage
Solution Sage

Hi @Anonymous ,

As per my understanding, you cannot dynamically enable or disable a button in Power BI basis a certain condition.

However check this post if it helps 
https://exceleratorbi.com.au/show-or-hide-a-power-bi-visual-based-on-selection/

 

Please accept this as a solution if your question has been answered !!

Appreciate a Kudos 😀

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.