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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Naverie
Helper I
Helper I

Error message - DirectQuery

Hi all,

 

I keep getting the below error when using directquery.

Naverie_0-1619606539676.png

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

 

2 REPLIES 2
v-janeyg-msft
Community Support
Community Support

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

v-janeyg-msft
Community Support
Community Support

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.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.