cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
SabariPrabu Regular Visitor
Regular Visitor

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

Accepted Solutions
EricHulshof Member
Member

Re: Null Value in Table

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

View solution in original post

2 REPLIES 2
EricHulshof Member
Member

Re: Null Value in Table

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

View solution in original post

Super User IV
Super User IV

Re: Null Value in Table

Can you share the column values and error





Did I answer your question? Mark my post as a solution!
In case it does not help, please provide additional information and mark me with @
My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP,
HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Proud to be a Super User! Linkedin


Helpful resources

Announcements
Coming Soon: T-Shirt Design Contest

Coming Soon: T-Shirt Design Contest

Keep your eyes open for our upcoming T-shirt design contest!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors
Top Kudoed Authors