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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors