Forum Discussion
AverageAsker
Helper I
10 years agoCannot save a query for live connection
I am building report based on Live data from my SQL Server's table, I imported a table which contains DateTimeOffset column and then added (in Power BI Desktop) a custom column by using this query: ...
AverageAsker
Helper I
10 years agoHi, I found this and it is explaining why I am seeing the error: You cannot add calculated columns or tables so Calculated Columns is not an option unfortunately.
pqian
Microsoft Employee
10 years agoAverageAsker I haven't tried it, so I can't tell for sure. But you can try adding a calculation in PowerQuery, or cast the type to DateTime (I know in SQL casting to datetime usual translates to local time)
- AverageAsker10 years ago
Helper I
If a calculation in PowerQuery involes Custom Column, then, it doeesn't work as explained above. If you didn't mean Custom Column - can you provide more specifics?
I ended up solving my problem by making all the transformations in SQL.