Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
When I use the syntax below:
I get the error:
The following syntax error occurred during parsing: Invalid token, Line 3, Offset 30, –.
How can I fix this? - thank you in advance!
Solved! Go to Solution.
If you are trying to create a calculated column for week ending date, try the below:
Proud to be a Super User! | |
If you are trying to create a calculated column for week ending date, try the below:
Proud to be a Super User! | |
Wow, thank you so much!
I made an edit to your syntax (from 2 to 1) since I need weeks to end on a Saturday.
You're very welcome! Happy to help! Please mark as a solution so others are able to find it to help in the future. Have a great week!
Proud to be a Super User! | |
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 38 | |
| 33 | |
| 29 | |
| 26 |
| User | Count |
|---|---|
| 131 | |
| 105 | |
| 60 | |
| 56 | |
| 55 |