Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Attempting to apply conditional formatting icons to a column based on values in another column. Inspired by this post: Conditional formatting based on multiple conditions , I created a measure:
Solved! Go to Solution.
Revised DAX Measure:
Lead Status Condition =
MAXX(
Leads,
SWITCH(
TRUE(),
Leads[Status] = "New" && Leads[Lead Age] >= 30, 1,
Leads[Status] = "Working" && Leads[Lead Age] > 90, 2,
Leads[Status] = "New" && Leads[Lead Age] < 30, 3,
BLANK() // Optional: to handle cases that don't meet any conditions
)
)
Steps:
Revised DAX Measure:
Lead Status Condition =
MAXX(
Leads,
SWITCH(
TRUE(),
Leads[Status] = "New" && Leads[Lead Age] >= 30, 1,
Leads[Status] = "Working" && Leads[Lead Age] > 90, 2,
Leads[Status] = "New" && Leads[Lead Age] < 30, 3,
BLANK() // Optional: to handle cases that don't meet any conditions
)
)
Steps:
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
72 | |
38 | |
31 | |
27 |
User | Count |
---|---|
92 | |
50 | |
44 | |
40 | |
35 |