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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
PaulaMcC
Frequent Visitor

Blank date turning into 30/12/1899

Hi All,

 

I have a lookupvalue column which is pulling a date from another table and then a further 3 columns with future dates based on the looked up date. However if the date is 0 it turns to 30/12/1899 and that then affects the other 3 columns but I don't know how to tell it to keep it empty. I have tried "null" but didn't like it. Could someone help me fix the formula?

 

 Screenshot 2021-02-16 161205.png

 

 

Screenshot 2021-02-16 161224.png

 

4 REPLIES 4
v-jayw-msft
Community Support
Community Support

Hi @PaulaMcC ,

 

As the column is date format, 0 will be converted to 1899/12/31

The formula will return blank value defaultly, what's the expected result?

 

Column = LOOKUPVALUE('Table'[date],'Table'[name],'Table 2'[name])

 

8.PNG

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
amitchandak
Super User
Super User

@PaulaMcC , in case of blank, do not return 0. return blank()

Thanks @amitchandak 

That works but it's still affecting the further 3 columns, any idedas?

 

Screenshot 2021-02-16 163935.png

Hi,

 

You could use something like :

IF(ISBLANK(StartDate),BLANK(),DATEADD(bla bla)) ?

Is that OK with you ?

Let us know

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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