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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
helen_p
Frequent Visitor

Change the format of a calculated column when using FIRSTONBLANK column

 Dear Power BI user

 

I was wondering if someone could kindly help me

 

I have a column in table 1 which is called "StartDate" and this is a text field

 

I am using the FIRSTONBLANK function to bring the "StartDate" field into table 2 but wish the calculated column to be in Date/Time format....I get an error if I just change the data type

 

The DAX expression I am using in table 2 is: 

FIRSTNONBLANK('table1'[StartDate])
 
Any help is greatly appreciated
 
Kind Regards
Helen
1 REPLY 1
Vera_33
Resident Rockstar
Resident Rockstar

Hi @helen_p 

 

Can you provide some sample data of your Table1[StartDate]? I tried to use Text in Table1, and it worked

Vera_33_0-1617847015720.png

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Top Solution Authors