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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
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!

Labels (1)
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!!