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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

Null Value in Table

I have a set of date fields in a column. The data type is kept as date only in Power BI. 

When the cells are blank then i need to display NULL. However when i am trying to createa  calculated column, it is not support since NULL can't exists in date datatype.

 

At the same time i cant change the date datatype to text since i need to maintain the format DD-MMM-YY.

 

Please help.

1 ACCEPTED SOLUTION
EricHulshof
Solution Sage
Solution Sage

You can change it to text using FORMAT() in DAX. This way it will save it as text in DD-MMM-YY


Quality over Quantity


Did I answer your question? Mark my post as a solution!


View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

Can you share the column values and error

EricHulshof
Solution Sage
Solution Sage

You can change it to text using FORMAT() in DAX. This way it will save it as text in DD-MMM-YY


Quality over Quantity


Did I answer your question? Mark my post as a solution!


Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.