cancel
Showing results for 
Search instead for 
Did you mean: 
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
Microsoft
Microsoft

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
Microsoft
Microsoft

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

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
User Groups Public Preview

Join us for our User Group Public Preview!

Power BI User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.

March Update

Check it Out!

Click here to read more about the March 2021 Updates!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.