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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
dylantaylor
New Member

Date Formatting/Conditional Date Formatting

Hello,

 

I have the following date information formatted in "Table" form on my report and wanted to know if I could change the formatting from the current style to just remove the day of the week. Is there a way that I can do this in report view?:

 

Here is a simulation of what the table looks like:

Customer

Next Survey Date

A

Wednesday, June 13, 2012

B

Friday, September 14, 2018

C

Monday, October 01, 2018

 

Also, can conditional formatting be applied to dates in report view based on the number of days between the reported date and the current date? For example, color all dates red that are more than 180 days before current date, yellow 90-179, etc.

 

Thank you so much for the help!

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@dylantaylor , I did not get it completely, But creating a color measure like

Color Date = if(FIRSTNONBLANK('Date'[date],TODAY()) <today(),"lightgreen","red")

 

And use that in conditional formatting. Use field option and then use this measure

https://radacad.com/dax-and-conditional-formatting-better-together-find-the-biggest-and-smallest-num...

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

View solution in original post

@dylantaylor 

 

You may take a look at Display custom format strings.

 

Community Support Team _ Sam Zha
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

3 REPLIES 3
amitchandak
Super User
Super User

@dylantaylor , I did not get it completely, But creating a color measure like

Color Date = if(FIRSTNONBLANK('Date'[date],TODAY()) <today(),"lightgreen","red")

 

And use that in conditional formatting. Use field option and then use this measure

https://radacad.com/dax-and-conditional-formatting-better-together-find-the-biggest-and-smallest-num...

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

Yes, you answered the conditional formatting question but not how to change the formatting. Is there a way that I can change the current formatting of the dates to exclude the day of the week as well? Thanks!

@dylantaylor 

 

You may take a look at Display custom format strings.

 

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

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.