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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Setting up a client's PBI and one of the tables gives me this error when importing into Desktop. I've used the same view for other clients with the same db structure. Is there a way to bypass the error?
Failed to save modifications to the server. Error returned: 'OLE DB or
ODBC error: [DataSource.Error] Microsoft SQL: Warning: Null value is
eliminated by an aggregate or other SET operation..'.
Hi @finzilla,
It seems that this error is caused by your data source in Database.
To avoid the warning, you may could use “set ansi_warnings off” before the script.
You could have a reference in this blog.
Hope this can help you!
Best Regards,
Cherry
How can I use “set ansi_warnings off” before the script in PBI?
Did you resolve this ?
I added COALESCE ([col],"null") to by pass my issue. or zero if you have integer.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.