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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors