Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi,
In my matrix need to visually compare the size of income (positive values) toexpenses (negative values). Is it possible to conditionally format a column of values so that both positive and negative data bars run from left to right? and I use colour to differentiate as positive or negative).
Thanks as always,
Michelle
Solved! Go to Solution.
Hi @michellepace ,
You can set the bar direction of Revenue as 'Left to Right' and Expenses as 'Right to left' in the matrix, adjust the colors as your needed.
Best Regards,
Yingjie Li
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Hi @michellepace ,
You can set the bar direction of Revenue as 'Left to Right' and Expenses as 'Right to left' in the matrix, adjust the colors as your needed.
Best Regards,
Yingjie Li
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
@michellepace , In case you are not using legend or multiple columns you can do that in the bar using rules or Using a measure with "field" option.
For both case refer: https://radacad.com/dax-and-conditional-formatting-better-together-find-the-biggest-and-smallest-num...
https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting#color-by-color-values
Color measure
color =
switch ( true(),
FIRSTNONBLANK(Table[commodity],"NA") ="commodity1" && sum(Table[Value]) >500,"lightgreen",
FIRSTNONBLANK(Table[commodity],"NA") ="commodity2" && sum(Table[Value]) >1000,"lightgreen",
/// Add more conditions
"red"
)
for matrix it will work with rows/column etc.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
86 | |
84 | |
66 | |
62 | |
61 |
User | Count |
---|---|
197 | |
118 | |
108 | |
78 | |
69 |