cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
prerak Frequent Visitor
Frequent Visitor

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

Error_CalcField_Formula.PNGFormula for Caclulated Field

 

 

 

 

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

 

 

Error_CalcField.PNGError 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

Accepted Solutions
v-micsh-msft New Contributor
New Contributor

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

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
ankitpatira Super Contributor
Super Contributor

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

@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.

v-micsh-msft New Contributor
New Contributor

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

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

Helpful resources

Announcements
Ask Amanda Anything Q&A

Ask Amanda Anything Q&A

Learn the answers to some of the questions asked during the Amanda Triple A event.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 161 members 1,744 guests
Please welcome our newest community members: