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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Formatting in Power BI

Hi,

 

I want to make color based formatting in power BI basaed on 2 cells.

 

I have bid submission date and Project value.

 

If IT estimates are not submitted within 1 week of the submission date turn the background of the cell red. How do I do this? How will power BI know it's within 1 week?

 

Below you will find the date. For example, if today is 7/25/18 and my submission date is 8/01/2018 and the estimate value has not been submitted and I'm within the 1 week time frame the Estime value cell should turn red.

 

Bid Submission Date

 
05/28/18
 
 
 
 
 
12/13/17
 
09/12/17
02/19/18
06/30/18
03/31/18
 
05/19/15
01/28/18
 
 
04/08/18
 
 
 
 
 
 
 
11/20/17
02/18/18
 
 
05/08/18
04/01/18
 
 
 
08/01/18

Estimate Value

 
$-
 
$100
 
 
 
 
 
 
 
$350
$5000
 
$2,225
 
 
 
 
 
 
 
 
 
 
$3.4MM
 
 
 
 
 
$24.946MM
 
 
 
344K

 

3 REPLIES 3
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous ,


If IT estimates are not submitted within 1 week of the submission date turn the background of the cell red. How do I do this? How will power BI know it's within 1 week?


Does 1 week mean 7 day or the same week?

I think you could calculate the difference between the two dates to check if that is within 1 week.

In addition, I'm a little confused about the data your shared. How do we know that if the estimate value has been submitted on 8/01/2018?

If you still need help, please share the data sample which could reproduce the scenario and your desired output so that we could help further on it.

Best  Regards,

Cherry

 

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

7 days. How do I calculate?

 

8/01 was just an example, but that's the thing how would we know if its been submitted under one week?

amitchandak
Super User
Super User

Check if this can help you

https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors