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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
itso
Advocate I
Advocate I

Date format in pbi

Hi

I'm connecting direct query to SAP BW.

I have a date field that for some reason, pbi detect like text.

I try diferent regional settings, but everitame format it was text and it not possible to change it.

 

image.png

 

Because i'm in direct, i cant transform the column.

Have someone any idea?

Thanks a lot

6 REPLIES 6
v-caliao-msft
Microsoft Employee
Microsoft Employee

@itso,

 

You could create a calculate column by using the DAX expression below.
Column = DATE(MID(Table2[Date],7,4),MID(Table2[Date],4,2),MID(Table2[Date],1,2))

Capture.PNG

 

Regards,

Charlie Liao

Hi Charlie,


I couldn't create calculated column, because i'm in direct query and options is only creation a measure.

 

Itso

 

 

@itso,

 

If that is that case, you could create a column in your source database. Besides, we can create calcualted column in directquery mode.

 

Regards,

Charlie Liao

itso
Advocate I
Advocate I

Somebody?

Anonymous
Not applicable

What does it do if you try and change the Data type to Date?

It's not active - not posible.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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
Top Kudoed Authors