Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi, I have a measure
LY Sales = CALCULATE([Sales_Amount Measure], SAMEPERIODLASTYEAR('PDW_DATE_D'[CAL_DATE]))
but is giving the following error:
An invalid numeric representation of date value was encountered.
also,column CAL_DATE is of datatype:Date (example : 2019-01-07)
Hi shashicr7,
PBI Report Server has some limitations. One limitation is with time intelligence functions. There are work arounds but I haven't figured it out yet. A key word search I'm using is 'advanced time intelligence' but I haven't found an exact solution yet. Sorry I couldn't help. The key here is you will find as I have that Report Server has some limitations with not accepting specific functions. There are work arounds but you have to research older publications before a function (for example SAMEPERIODLASTYEAR) was introduced. If I find anything I'll update this post.
Rich Ard
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
9 | |
3 | |
2 | |
2 | |
1 |