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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
skaul
New Member

To apply calculated field

Hi 
I have three column in backend 1) start date 2) end date and 3) calcultaed column created which captures todays date 

i have created a column validatedFlag where applied a condition where if (datesbetween(currentdate,startdate,endDate),"X","") now I want to apply a conditional formating (icon) in front end on validatedFlag column like where the value will be X i need red cross icon and where there is blsnk value i need green circle. How to achieve?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @skaul ,

You can refer the following link to make conditional formatting for your visual, please find the details in the attachment.

Apply conditional formatting in tables and matrixes

yingyinr_0-1679538479067.png

 

Best Regards

View solution in original post

2 REPLIES 2
Adamboer
Responsive Resident
Responsive Resident

To apply conditional formatting (icon) in Power BI on the "validatedFlag" column, follow these steps:

  1. Select the "validatedFlag" column in the Fields pane.
  2. Click on the "Conditional formatting" button under the "Visualizations" pane.
  3. Select "Icons" from the dropdown menu.
  4. Choose the "X" option under the "Set icons" section.
  5. Choose the "Red cross" icon under the "Icon style" section.
  6. In the "Icon criteria" section, select "is" and enter "X".
  7. Click on "Add another rule" to add another condition.
  8. Select "Icons" from the dropdown menu.
  9. Choose the "O" option under the "Set icons" section.
  10. Choose the "Green circle" icon under the "Icon style" section.
  11. In the "Icon criteria" section, select "is blank".
  12. Click "OK" to apply the formatting.

Once the above steps are followed, the "validatedFlag" column will have a red cross icon where the value is "X" and a green circle where the value is blank.

Anonymous
Not applicable

Hi @skaul ,

You can refer the following link to make conditional formatting for your visual, please find the details in the attachment.

Apply conditional formatting in tables and matrixes

yingyinr_0-1679538479067.png

 

Best Regards

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Kudoed Authors