Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
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!!