Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello Team,
I have one matrix with 3 rows as measures like sales realted , profit related and discount related. And i am having columns as last 12 months periods. for these 3 rows we divided color code based on ranges like for profit related <60 % red , >60 % and <80 % orange and >80% green.
I have done color change but one more component like we should insert color code range in row names like below
Month1 Month2 Month3 Month4 Month4 Month5 ...........
Sales :-
Profit:-
<60 % red , >60 % and <80 % orange and >80% green.
Discount:-
is there any possibility to enter in name fileds to insert that values also or any alternative approach??
Hi,
I do not understand your question. Share some data and clearly show the expected result.
@sampathK , Can you share sample data and sample output in a table format?
@Ashish_Mathur has shared a similar solution a couple of days back. Ashish can help with this?
you need to have color measure use that as field option
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"
)
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
97 | |
85 | |
67 | |
59 |
User | Count |
---|---|
150 | |
120 | |
99 | |
87 | |
68 |