Check if date is empty in SharePoint JSON formatting


Using JSON formatting to highlight specific SharePoint rows can be a great way to improve readability. However, when dealing with empty dates, the formatting may not work as expected. To check if a date is empty, you can add an additional condition to your code. By comparing the date with 0, you can determine if it has a value. If the date is not empty, you can run your calculations and change the colors of the rows accordingly. This can be done using JSON formatting in SharePoint. Just make sure to exclude items with empty dates when applying the formatting.


Article 2m

Login now to access my digest by 365.Training

Learn how my digest works
Features
  • Articles, blogs, podcasts, training, and videos
  • Quick read TL;DRs for each item
  • Advanced filtering to prioritize what you care about
  • Quick views to isolate what you are looking for right now
  • Save your favorite items
  • Share your favorites
  • Snooze items you want to revisit when you have more time