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.
Hi,
Is it possible to format a row separately in conditional formatting?
for example, i have
Name Sales
Mark $1000
Kevin $900
Sarah $1100
John $700
if sales are above 1000, i want to have green circle next to sales amount, but exception for john, if his sale is above $500, i want him to show green too.
so, Mark, Sarah, and John will have green circle next to their sales amount. but not for Kevin
thank you!
Solved! Go to Solution.
Hi @Anonymous ,
Based on your description, try creating the following two measures.
color = IF(MAX('Table'[Name])="John"&&MAX('Table'[Sales])>=500, UNICHAR(11044),IF(MAX('Table'[Sales])>=1000, UNICHAR(11044),BLANK()))
color = IF(MAX('Table'[Name])="John"&&MAX('Table'[Sales])>=500, UNICHAR(11044),IF(MAX('Table'[Sales])>=1000, UNICHAR(11044),BLANK()))
The below is what you want:
Did I answer your question? Mark my post as a solution!
Best Regards
Lucien
Hi,
Is it possible to format a row separately in conditional formatting?
for example, i have
Name Sales
Mark $1000
Kevin $900
Sarah $1100
John $700
if sales are above 1000, i want to have green circle next to sales amount, but exception for john, if his sale is above $500, i want him to show green too.
so, Mark, Sarah, and John will have green circle next to their sales amount. but not for Kevin
thank you!
Hi @Anonymous
Create a measure for the same returning 1 when you want it o show green and 0 otherwise.
Go o conditional formatting, use this measure to get the desired result.
Set 1 to show Green.
Hope it resolves your issue? Did I answer your question? Mark my post as a solution! Appreciate your Kudos, Press the thumbs up button!! Linkedin Profile |
Hi,
I do not see anything..
it only shows blue rectangle
Hi @Anonymous ,
Based on your description, try creating the following two measures.
color = IF(MAX('Table'[Name])="John"&&MAX('Table'[Sales])>=500, UNICHAR(11044),IF(MAX('Table'[Sales])>=1000, UNICHAR(11044),BLANK()))
color = IF(MAX('Table'[Name])="John"&&MAX('Table'[Sales])>=500, UNICHAR(11044),IF(MAX('Table'[Sales])>=1000, UNICHAR(11044),BLANK()))
The below is what you want:
Did I answer your question? Mark my post as a solution!
Best Regards
Lucien
Hi,
Please check the below picture and the attached pbix file.
One of ways to solve this is to create a measure like below and select this measure "Format style" -> "Field value" inside "conditional formatting" -> "background color" section.
Sales total measure conditional format: =
SWITCH (
SELECTEDVALUE ( Sales[Name] ),
"John", IF ( [Sales total measure:] >= 500, "Green" ),
IF ( [Sales total measure:] >= 1000, "Green" )
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
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 |
---|---|
96 | |
93 | |
82 | |
70 | |
64 |
User | Count |
---|---|
116 | |
106 | |
94 | |
79 | |
72 |