Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 216485

Use PREVIOUSYEAR function on a column that only contains a Year value

$
0
0

Hello,

 

I am trying to create a "Previous Year" measure using the PREVIOUSYEAR function but get the following error since my 'Fiscal Year' column is actually a Text data type. 

 

"A column specified in the call to function 'PREVIOUSYEAR' is not of type DATE. This is not supported."

 

Is there a work around for this?   Possibly creating a fake date format for the 'Fiscal Year' column?

 

Thanks.


Viewing all articles
Browse latest Browse all 216485

Trending Articles



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