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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.