The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
I have a page with various URL buttons and the backend data is only populated where there is a URL to navigate to, otherwise it's blank. There is a table on the page that populates various info about a record into a multirow card when clicked, and I want to make the button not visible if the data for that item's URL is blank and clickable if it is not blank.
I'm using a custom Icon for the button.
I wasnt sure if I should just remove the icon if the button is disabled? But I wasn't sure if no data makes a web URL button "disabled" in Power BI.
Thanks for any help!
Solved! Go to Solution.
Hi @crobinson661
There is no option to make something "disabled" but you can use conditional formatting to make the button invisible / give it some text like " note the link is unavailable".
For the first option, you can use flag measure like :
+ the same on the border if you have one
the result :
Message option:
create a measure like :
using conditional formatting "take it " to the button
and using color conditional formatting to make it red
result
PBIX is attached
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Hi @crobinson661
There is no option to make something "disabled" but you can use conditional formatting to make the button invisible / give it some text like " note the link is unavailable".
For the first option, you can use flag measure like :
+ the same on the border if you have one
the result :
Message option:
create a measure like :
using conditional formatting "take it " to the button
and using color conditional formatting to make it red
result
PBIX is attached
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly