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! Get ahead of the game and start preparing now! Learn more
How can I use the parameter value to conditionally format a bar chart? I am able to use the following formula to color the bar chart in the way I want -
Solved! Go to Solution.
Hi @mtdewrocks
You can use a numeric parameter for the desired result.
1. Add parameter
2. create a flag measure with the needed condition (using the parameter measure that you will have after creating the parameter):
3. use conditional formatting based on the flag measure
Result :
Pbix is attached
If this post helps, then please consider Accepting it as the solution to help the other
members find it more quickly
Your response is essentially what I tried. However, I am working with a column chart, and it still seems to be aggregating my column so all values are returning true, even when not. Sorry for being so new to the community, but can you assist with how to attach my pbix file? If so, I'm sure that would help troubleshoot.
Yes, without pbix it is very difficult to guess what you are trying to do and where the problem is.
How do I upload my pbix file to you? I don't see the button or know how.
Hi @mtdewrocks
You can use a numeric parameter for the desired result.
1. Add parameter
2. create a flag measure with the needed condition (using the parameter measure that you will have after creating the parameter):
3. use conditional formatting based on the flag measure
Result :
Pbix is attached
If this post helps, then please consider Accepting it as the solution to help the other
members find it more quickly
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |