Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
aziz90
New Member

visual color (rectangle) depend to a value

I would like if it is possible to have your opinion on a point on the Power BI.
In fact I have a field "business status" which contains either 0 or 1
if the value of the field is 1 on displays a rectangle in green

otherwise, display a rectangle in red.

what kind of visual can I use?
thanks in advance

1 ACCEPTED SOLUTION
v-juanli-msft
Community Support
Community Support

Hi @aziz90

Thanks to @Anonymous, I test with Card with States by OKViz visual according to this blog.

 

1.png

2.png

 

Best Regards

Maggie

View solution in original post

3 REPLIES 3
v-juanli-msft
Community Support
Community Support

Hi @aziz90

Thanks to @Anonymous, I test with Card with States by OKViz visual according to this blog.

 

1.png

2.png

 

Best Regards

Maggie

Anonymous
Not applicable

 Hi @aziz90,

 

There is a custom visual that has the behavior you describe. Check it out:
https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA104380967?tab=Overview

 

Regards.

Anonymous
Not applicable

Thank you very much, it was just what I was looking for

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.