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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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