Forum Discussion

DougM213's avatar
DougM213
New Member
7 years ago

Need to Format Button - gray out - if value a value does not exist in a table

New to Power BI. 

Overall need is I have a table of Alerts which changes throughout the day and those alerts need to link to a report.

Figured best way was to create buttons with hyperlinks but want to gray out the text when the alert does not exist in the table.  Is there a way to conditionally format the button?

 

Example, Table Alerts has potential values of Overdraft, Large Uninvested Cash Balance, Overdue Remittances, Stale Prices which I would have a button for each.  At presentation only Overdraft and Stale Prices exists.  Thus I want to have the Large Uninvested Cash and Overdue Remittances would be grayed out.

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    HI DougM213 ,

    Actually, power bi not support custom buttons. Maybe you can write a measure to check these records and return message if not exists, then you can drag it to card visual to display this notice.

    Regards,
    Xiaoxin Sheng