Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

System Functions - document path

Hi,

I need to know how to get the Documentpath without the Documentname

For example if i use the function Documentpath() it brings me "C:/.../.../xxx.qvw"

but

i need the path "C:/..../..../"

How i can do this??

Tnks!

1 Solution

Accepted Solutions
Not applicable
Author

Hi Carlos

Try this

Mid(DocumentPath(), 1, Index(DocumentPath(), '\', -1) )

Lukasz

View solution in original post

2 Replies
Not applicable
Author

Hi Carlos

Try this

Mid(DocumentPath(), 1, Index(DocumentPath(), '\', -1) )

Lukasz

Not applicable
Author

Thanks Lukasz!!