Forum Discussion
One button with text ON or OFF
Hi all,
Is it possible to create one button in PoweBi that shows text ON or OFF depending on conditions 1 or 2 from a table.
Must i then have a specially visualization?
11 Replies
- FowmySuper User
Frixel
You use Conditional Formatting of the Button Text show ON or OFF based on a measureIf you are satisfied with my answer, please mark it as a solution so others can easily find it.
Don't forget to give KUDOS to replies that help answer your questions
Subscribe to ExcelFort: Learn Power BI, Power Query and Excel- AllisonKennedyCommunity Champion
Why is your report made in service? What does your data look like? What is the big picture? You are able to download pbix file for some reports, so this could help you create the needed measures, but it depends on your data source.
If you're looking for help specific to Power BI Service, try posting your question in that forum specifically and provide more detailed information on the fact that you're creating report from Service and cannot use desktop solutions.
That should help you get better responses the first time.
- amitchandakSuper User
Frixel , Create a measure like this
Color Date = if(FIRSTNONBLANK('Date'[Date],TODAY()) <today(),"On","Off")
Use this in any dynamic title or color formatting.
https://www.youtube.com/watch?v=TYLKDPcvgK8
https://www.blue-granite.com/blog/create-a-dynamic-title-in-power-bi-updatedor
https://radacad.com/dax-and-conditional-formatting-better-together-find-the-biggest-and-smallest-numbers-in-the-column
https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting#color-by-color-values- FrixelPost Prodigy
- IceyCommunity Support