Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 20764

SSRS 2008 R2 unpivot - Datasource CSV

$
0
0

In SSRS 2008, i am trying to use the unpivot query.

it is not working for some reason.

i am querying from csv file.

Here is my unpivot query.

SELECT Date, Hour, Value
FROM
(
  SELECT Date,[1],[2],[3],[4],[5]
  FROM  myData.CSV
) MyTable
UNPIVOT
(Value FOR Hour IN ([1],[2],[3],[4],[5])) AS MyUnPivot

When i execute this, i am getting error - syntax error in from clause.


Viewing all articles
Browse latest Browse all 20764

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>