Quantcast
Channel: Power Query topics
Viewing all articles
Browse latest Browse all 31133

PBI doesn't recognize currency from Google Analytics ( DataFormat.Error )

$
0
0

Hi,

 

I have connected to Google Analytics directly through PBI desktop.

 

(leaving some information as xxx)

When currency numbers are above 10million, they are formated as xxxE7, which PBI doesnt recognize.

 

Query:

#"Added Items" = Cube.Transform(#"xxx", {{Cube.AddAndExpandDimensionColumn, "ga:yearMonth", {"ga:yearMonth"}, {"Month of Year"}}, {Cube.AddMeasureColumn, "Revenue", "ga:transactionRevenue"}}),

Error code:

DataFormat.Error: We received unexpected data for a column of type 'Currency'.

Details:
1.xxxE8

 

I have tried changing region settings (current is swe, changed to various regions)

Tried Currency.From("ga:transactionRevenue","en-US") for example, then I get the error message "Couldn't convert to number"

 

Can't get this to work. Would really appreciate help!


Viewing all articles
Browse latest Browse all 31133

Trending Articles



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