Forum Discussion
Make Web URL button disappear if value is blank
- 2 years ago
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 :
test button = if(max('Table'[link])="",1,0)and then modify the color of the text / other elements of a button based on this measure :+ the same on the border if you have one
the result :
Message option:
create a measure like :
test with message = if(max('Table'[link])="", "Note the link is unvailible", "Press to the link")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