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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Qkv_123
New Member

Fabric LakeHouse SQL Query

Hi Team,

 

I have loaded XML file and SQL query to check the date availability if date is missing in the sequence then add and fill the value based on latest Known value (column).

Table : XML 
columns : Rate, Date, Curr code
Task: if table missing sequence date then add and fill the rate from latest kown date.

 

Sceen1.png

 

Kindly advise me.

 

Thanks,

Qkv_123

1 ACCEPTED SOLUTION

@Anonymous If I remember correctly, we can't write to a LH table from the LH SQL endpoint. I think we can only create views, functions, and stored procedures in the SQL endpoint. But we can write to a LH table using PySpark in a notebook.

 

Or am I mistaken?

View solution in original post

8 REPLIES 8
Anonymous
Not applicable

Hi @Qkv_123 

Thanks for using Fabric Community.

Can you please explain your ask further? What should be the expected output? Please provide these details, so that I can help you better.

Thanks.

Hi @Anonymous 

I have table in that table Date column missing sequence date, I have to fill the date

I the above table missing 16th Date
So I need to add in SQL query and fill the value 

Anonymous
Not applicable

Hi @Qkv_123 

I understand about the date column. But what about the other columns? Should they be null for the new entry?

Yes, null value in the date column should be filled with latest date

@Anonymous If I remember correctly, we can't write to a LH table from the LH SQL endpoint. I think we can only create views, functions, and stored procedures in the SQL endpoint. But we can write to a LH table using PySpark in a notebook.

 

Or am I mistaken?

Anonymous
Not applicable

You are right @Element115 .
As mentioned by @Element115  DML statements are not yet supported in Lakehouse SQL endpoint. You can write into a Lakehouse table using Notebooks.

Hope this helps. Please let me know if you have any other questions.

Anonymous
Not applicable

Hi @Qkv_123 ,
We haven’t heard from you on the last response and was just checking back to see if your query got resolved. Otherwise, will respond back with the more details and we will try to help.
Thanks

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Fabric Update Carousel

Fabric Monthly Update - September 2025

Check out the September 2025 Fabric update to learn about new features.

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.