Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
PowerBINoob24
Resolver I
Resolver I

Invalid Token error

Hi all,
 
I'm trying to create a date table for our fiscal year.  I've been following this article https://www.mssqltips.com/sqlservertip/7133/compute-fiscal-week-calculations-with-power-bi-and-dax/  and it works until I get to step 8.  When I try to create the week ending column using Week Ending = 'Fiscal Year'[Date] - MOD ( 'Fiscal Year'[Date]1, 7 ) + 6 I get the following error "The following syntax error occurred during parsing: Invalid token, Line 1, Offset 49, –."
 
Any ideas?
 
TIA
0 REPLIES 0

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.