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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I have The Following Table
Status | Campaign type |
Completed | A |
Completed | A |
Completed | B |
Completed | R |
Completed | D |
Completed | A |
Cancelled | F |
Cancelled | GS |
Cancelled | GS |
Cancelled | W |
Cancelled | E |
Cancelled | T |
Cancelled | U |
Cancelled | W |
Cancelled | HG |
Cancelled | SF |
Cancelled | AS |
Cancelled | YF |
Paused | A |
Paused | N |
Paused | N |
Paused | J |
Running | L |
So i want to condional formal the campaign type based on staus so like if completed the campaign type should be green, if canceled red, if paused yellow, if running blue
Solved! Go to Solution.
Hi @Anonymous
For this type of colouring rule, you would need to create a measure that depends on the value of Status, and returns the colour as a text value.
See here for details on the types of text values that are acceptable for defining colours.
The conditional formatting would then use Format style = "Field value" and be based on the measure.
Here is a simple example I created in a table visual:
Regards,
Owen
Hi @Anonymous
For this type of colouring rule, you would need to create a measure that depends on the value of Status, and returns the colour as a text value.
See here for details on the types of text values that are acceptable for defining colours.
The conditional formatting would then use Format style = "Field value" and be based on the measure.
Here is a simple example I created in a table visual:
Regards,
Owen
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
7 | |
5 | |
4 | |
3 |
User | Count |
---|---|
12 | |
11 | |
10 | |
9 | |
8 |