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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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 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.