Quantcast
Channel: Developer topics
Viewing all articles
Browse latest Browse all 17908

Returning Int64.Type from a function in M

$
0
0

 

Table.ReplaceValue(
    myTable, 20170701,
    Int64.From(Text.From(year - 1) & "0701"), 
    (x, old, new) as Int64.Type => new, 
    dateFieldNames
)

Why does this throw "type identifier is invalid" on the Int64.Type value and how to I coerce a return value to this type?

 

(cross-posted in the Desktop forum) 


Viewing all articles
Browse latest Browse all 17908

Trending Articles



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