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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi all,
I keep getting the below error when using directquery.
This is the line of SQL it is referring to but I don't get any error messages / warnings when running it in SQL server?
,MAX(REPLACE(RIGHT([Event Recorded By], LEN([Event Recorded By])-13), '.',' ')) AS [Event Recorded By]
Anyone come across this before and can help!
TIA
Hi, @Naverie
Is your problem been solved? If yes, kindly mark the helpful answer as a solution if you feel that makes sense. Welcome to share your own solution. More people will benefit from the thread.
Best Regards
Janey Guo
Hi, @Naverie
According to your error message, It seems to be some problems in [Event Recorded By] column. You need to check whether the data on this column meets the length rules.
If it doesn’t solve your problem, please feel free to ask me.
Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 |