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
prerak
Frequent Visitor

Redshift Connector wont allow a Calculated Field on Date/Time Column

Formula for Caclulated FieldFormula for Caclulated Field

 

 

 

 

This is a very basic Month formula for a calculate column on raw column of datatype - Date/Time

 

 

Error shown when using the formulaError shown when using the formula

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

When I pull the Calculated Column on to the sheet, it shows me the above error.

 

I am using Redhsift connector on DirectQuery Mode.

 

 

 

 

1 ACCEPTED SOLUTION
v-micsh-msft
Employee
Employee

Hi prerak,

 

I think this should be considered as limitation of Direct Query.

"

Time intelligence capabilities are not available in DirectQuery. For example, special treatment of date columns (year, quarter, month, day, so on) are not supported in DirectQuery mode.

"

This is documented at: Use DirectQuery in Power BI Desktop

 

We could choose import mode, or consider format the data under Query Editor.

More reference: Building Power BI Reports on top of Amazon Redshift data

Regards

View solution in original post

2 REPLIES 2
v-micsh-msft
Employee
Employee

Hi prerak,

 

I think this should be considered as limitation of Direct Query.

"

Time intelligence capabilities are not available in DirectQuery. For example, special treatment of date columns (year, quarter, month, day, so on) are not supported in DirectQuery mode.

"

This is documented at: Use DirectQuery in Power BI Desktop

 

We could choose import mode, or consider format the data under Query Editor.

More reference: Building Power BI Reports on top of Amazon Redshift data

Regards

ankitpatira
Community Champion
Community Champion

@prerak Redshift connector is still in preview and that is why I believe that functionality isn't possible yet. Maybe later towards when that feature becomes GA support for calculated measures and fields will be added.

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.