Forum Discussion
Direct Query limitation on Time()
Hi, PowerrrBrrr ;
You could create a measure as follows:
TimeTampe2 = MAX([timestamp])+TIME(3,0,0)
Here you use "[timestamp] + #duration(3,0,0)" which is #duration(0,3,0,0) ? if so, the above formula fits, if not, you can modify the time yourself.
The final output is shown below:
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- PowerrrBrrr4 years agoHelper III
v-yalanwu-msft Did you bring timestamp column from a direct query table? I did the same as mentioned by you and I get error as
"OLE DB or ODBC error: [DataSource.Error] PostgreSQL: 42000: MatchExpr:getColumnNames:Unhandled column As (Function ("max", [Ident "rows.timestamp"]), Ident "a0").
"- v-yalanwu-msft4 years agoCommunity Support
Hi, PowerrrBrrr ;
Can you share the error screenshot , and it should noted :here i create a mesure by dax.
Best Regards,
Community Support Team_ Yalan Wu- PowerrrBrrr4 years agoHelper III