Forum Discussion

tecumseh's avatar
tecumseh
Resolver III
2 years ago
Solved

Error on Merge

Hi all,

I am trying to merge a total table to a daily table to get the total amount which I can then multiply by a daily factor to spread revenue by day and then summarize by the appropriate month.

I have an the id field in each tabl as text
The id is 18 characters long and follows this pattern: a0ERk000001GJ1JMAW

But when I try to Merge and expand for the various fields I am interested in I keep getting this error: 

An error occurred in the ‘Rec Include’ query. DataFormat.Error: We couldn't convert to Number.
Details:
    None

I checked all id's, they are all a mix of alphanumeric
Value.Is(Value.FromText([ID]), type number))

Any ideas?
Thanks,

-w

4 Replies

  • Hi tecumseh ,

     

    It is possible that in Rec Include query one of the columns is formatted to number but a row or more actually contains a text string.  Power Query automatically detects the data type based on the first 1000 rows only so  somewhere beyond that, there's a row that cannot be converted to a number.

  • Hi,

    Share the download link of the PBI file and show the problem there clearly.