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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.