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.
]
I finally build my matrix I'm happy
now I need to have underlines same row, in this case, I would like to have row 2999- gross profit in other color.. or bold or something to make look different
how i can do in the powerbi matrix?
Solved! Go to Solution.
Hi @snifer
Modify with this measure, write the "row name" needed to show in the { } separated by ","
Measure = IF(MAX([parent])in {"2899-gross","1677-cost"},1,0)
Best Regards
Maggie
Hi @snifer
You could apply different colors for different rows. modify the measure as below
Measure = SWITCH(MAX([parent]),"2899-gross",1,"1677-cost",2)
then in the "Advanced controls" pane, you could "+" a condition.
Best Regards
Maggie
Hi @snifer
Modify with this measure, write the "row name" needed to show in the { } separated by ","
Measure = IF(MAX([parent])in {"2899-gross","1677-cost"},1,0)
Best Regards
Maggie
Hi @snifer
With the Matrix visual, you can apply Conditional formatting (colors and shading) to the background of cells within the matrix, and you can apply conditional formatting to the text and values themselves.
However, it supports in the "Value" field instead of "Row" or "Column" fields.
refernece:
In the example above, i create a measure
Measure = IF(MAX([parent])="2899-gross",1,0)
then open the "Advanced control" pane
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
HI, i don't get how you can apply conditional formatting just to one row or just in 2?
if I understood correctly this work just if value 1 is just 1 time in the matrix otherwise will display red all the 1 value.. if so doesn't work for me this solution
Hi @snifer
No,
look
if you want the row where "parent" ="2899-gross" to be coloreddifferently, you can use this measure
Measure = IF(MAX([parent])="2899-gross",1,0)
then use this measure in the conditional formatting setting.
measure=1 just shows which row you need to color.
If you want two rows, you could modify the measure with "||" function.
Best Regards
Maggie
so something not right
i create the measure
i made mistake oon the measure (sorry! 🙂
now is partially working...
the child row are red, but the parent row is still black how I can make it red as well?
those are all the lines that I need to be colored in red, howIi can add to the measure?
29999 | Gross profit/loss |
53999 | Earnings before interest, tax, depreciation and amortization (EBITDA) |
56999 | Operating profit/loss before special items |
57999 | Profit/loss before financial items and tax (EBIT) |
58299 | Profit/loss before financial items and tax (EBIT) after group costs |
69999 | Profit/loss before tax |
89999 | Profit/loss for the year |
Hi @snifer
Currently, conditional formatting for subtotals in matrix is not supported.
Here is a idea you could vote.
You can only have all subtotals in the same format with "Subtotal" or "Field formatting".
Best Regards
Maggie
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 |
---|---|
89 | |
80 | |
65 | |
64 | |
58 |
User | Count |
---|---|
171 | |
115 | |
109 | |
74 | |
69 |