In Power BI conditional formatting rules, a logical expression that returns TRUE or FALSE is used. The expression [Sales] > 1000 directly returns TRUE for sales above 1000 and FALSE otherwise, which is the simplest and correct approach.
The RANKX function ranks sales values. Comparing the rank to 10% of total rows identifies the top 10%. This returns TRUE for those rows, suitable for conditional formatting.
Using 'Format by Color scale' with minimum and maximum colors set applies a gradient color effect based on the numeric values of 'Profit Margin'. This visually shows low to high values with color transitions.
Some missing emails may be blank (null) or empty strings. Using OR(ISBLANK([Customer Email]), [Customer Email] = "") covers both cases to highlight all missing data rows.
Conditional formatting measures evaluate for each cell in the table visual, considering the current row's data and any filters applied. This allows dynamic formatting per row.