---
title: "Layout Export Error: Function is not available in expressions in query expression 'LEFT([tblDHColl].[DataSet]"
canonical: "https://servicedesk.maxgeo.com/space/DataShed4/1270186020/Layout%20Export%20Error%3A%20Function%20is%20not%20available%20in%20expressions%20in%20query%20expression%20'LEFT(%5BtblDHColl%5D.%5BDataSet%5D"
format: markdown
---
## Error when performing and export in DataShed4 “Function is not available in expressions in query expression 'LEFT([tblDHColl].[DataSet]”

## Solution

This Error is due to the Windows Users permissions. Test Exporting by running DataShed “as Administrtor” when logged in as the user that is having the issue. If the export works then adjust the windows user permission to correct the export ability.

![image](media://06ff4fdd-3517-45a6-b13f-269fc77e68a7)


## Related articles



> Macro (contentbylabel)

> Macro (details)
> 
> | Related issues |  |
> | --- | --- |