Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
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?
@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-updated
or
https://radacad.com/dax-and-conditional-formatting-better-together-find-the-biggest-and-smallest-num...
https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting#color-by-color-values
@Frixel
You use Conditional Formatting of the Button Text show ON or OFF based on a measure
If 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
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Hi @Fowmy
my report is made in the service version and you cannot use measure there.
How can I get that button in the service version?
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.
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
Hi @AllisonKennedy ,
I don`t get it working as i make a report in desktop.
I have a .csv file in OneDrive what more times a hour is updated. Ik want that my report that see and also update in the OneDrive schedule. I get that only when i make the report in the service version and not in desktop.
See also this topic from me where somebody helps mee but not resolved.
I don`t no what i do wrong.
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
Sorry for the late response 😥
What I would like is a button or something like that when the status is "Started" the button is orange and when the status is "Finished" the button turns green.
The filters that the conditions have you see in the print screen.
I hope you understand what I mean.
Hi @Frixel ,
You can add buttons, but will not be able to write the measure for ON and OFF in Power BI Service.
Regards,
Harsh Nathani
Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!
@Frixel
You cannot create measures in service, the only possibility I know so far is through PBI Desktop.
If 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
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 60 | |
| 49 | |
| 30 | |
| 25 | |
| 23 |
| User | Count |
|---|---|
| 128 | |
| 102 | |
| 57 | |
| 39 | |
| 31 |