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
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
v-yiruan-msft
Community Support
Community Support

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

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.

v-yiruan-msft
Community Support
Community Support

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

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.