The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I have a table with multiple entries, and a button that if I select a value from the table, the link from the button changes to a specific URL, but I want the button to be hide if nothing is selected in the table. Any ideas?
Solved! Go to Solution.
Please try the following steps:
1. Create a metric that outputs a different URL depending on the value selected.
ButtonLink = IF(ISBLANK(SELECTEDVALUE('Table'[value])), "", "https://www.google.com")
2.Apply this measure to the text of this button.
This is the result you want:
Best Regards,
Jayleny
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Please try the following steps:
1. Create a metric that outputs a different URL depending on the value selected.
ButtonLink = IF(ISBLANK(SELECTEDVALUE('Table'[value])), "", "https://www.google.com")
2.Apply this measure to the text of this button.
This is the result you want:
Best Regards,
Jayleny
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
There's a few ways - the first is to format the button to either be the same colour as the background if nothing is selected, or maybe show an error message.
So in the end, you'd have something like:
IF(HASONEVALUE(Table[Field from your Table]),
// your URL here i.e something has been selected in the table,
// BLANK()
)
You can then format your button based on if the URL is blank or not.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
101 | |
82 | |
62 | |
56 |
User | Count |
---|---|
254 | |
119 | |
115 | |
100 | |
76 |