Skip to content

Survey imports and attribute filtering #911

Answered by ccbogel
Oneto12 asked this question in Q&A
Discussion options

You must be logged in to vote

I might make an option to import the qualitative component into separate files.
OK here is the solution:
Go to Reports > Database queries
In the top text section copy and paste this:

SELECT case_text.caseid, attribute.name as 'Case attribute', attribute.value, case_text.pos0, case_text.pos1,code_name.name,  code_text.pos0, code_text.pos1, seltext 
from 
case_text join attribute on attribute.id=case_text.caseid join source on source.id = case_text.fid 
join code_text on  code_text.fid=source.id join code_name on code_name.cid = code_text.cid 
where
 code_name.name = 'code1' 
and attribute.name='District' 
and attribute.value='north' 
and case_text.pos0 <= code_text.pos0 
and case_text.pos1…

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@Oneto12
Comment options

Comment options

You must be logged in to vote
2 replies
@Oneto12
Comment options

@Oneto12
Comment options

Answer selected by Oneto12
Comment options

You must be logged in to vote
1 reply
@Oneto12
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants