If you use Microsoft Excel, then you might be familiar with Conditional Formatting. Well, the good news is that you can also use it in Microsoft Power BI. It’s a little trickier to find, but well worth it if you want to make your visuals even more useful to viewers of your reports.
Conditional formatting does pretty much what it says on the tin, it formats data based on a condition. For example, you may want to show figures over a certain amount in red, or perhaps you want to see some data bars in a table. That’s the job of Conditional Formatting in Power BI.
Let’s get right to it.
I’ll use a table visualisation and add some conditional formatting to the Revenue field for this example.
Adding Conditional Formatting to a Power BI Table Visual
- Ensure Power BI Desktop is open.
- Select a Table visualisation on your page, making sure to select the entire visual rather than just a part of it.
- In the Visualisation pane on the right, locate the column for which you want the formatting.
- Click on the down arrow beside the column name.
- From the drop down list, select Conditional Formatting, then choose from the options. In this example, Data Bars.
- In the Data Bars dialog box, use the drop down lists and checkboxes to make your choices.
- Click on the OK button when done.
In my example, I’ve selected Data Bars. This opens the Data Bars dialog box. I left the Format Style as the default. I also left the Minimum and Maximum at their defaults of Lowest and Highest values.
I want to change the colour, so I picked a light blue from the Positive bar drop down, and a red for the Negative bar. After I click OK, the Data Bars are displayed in the Revenue column of my table.
As a final touch, I clicked on the header of the Revenue column to sort it from highest to lowest revenue. That’s better, I can see my data exactly the way I want.
I hope you found this quick tip helpful in your Power BI journey. Cheers.
Table of Contents
Browse More Articles
Need Assistance? Request a Callback
Got a burning question about our training courses? Or maybe you just want to chat with someone who actually knows their stuff? Either way, pop your details in, and one of our expert trainers will give you a buzz. No pressure, no sales pitch, just helpful answers.
About Keystroke Learning
Keystroke Learning is Melbourne’s leading software training provider, offering hands-on courses for Microsoft 365, Adobe Creative Cloud, Google Workspace, and eLearning software.
With over 30 years in the training business, yep, we’ve outlasted some of the tech!, we offer flexible learning that fits your style.
Our enthusiastic instructors are all about those lightbulb moments, after all, who doesn’t love the thrill of turning “Huh?” into “Aha!”
Contact Us
8:30am–5:00pm, Mon–Fri
1 Queens Road
Melbourne, VIC 3004
Privacy Policy – Terms and Conditions
613/1 Queens Rd, Melbourne, VIC, 3004
ABN 11 620 050 759
Privacy Policy – Terms and Conditions