Hi,
I’m working on a new project with KoboToolbox and i’m using XLSform.
I think most of you have the objective of exporting the data to Excel, Google Sheets, or data visualization platforms like Power BI or Looker Studio — and I’m no exception.
With that mind, I have a few questions and I would like to query the community with the hopes of generating healthy discussion and to see real life examples, if possible.
Keep in mind, in my survey sheet, all my questions are encapsulated in groups and in the settings sheet I have the style set to pages.
1. In the survey sheet, I understand underscores are technically valid for variable names (question names), but I was wondering if anyone has experienced a situation where the underscore was a source of trouble? (particularly when importing the data to Google Sheets or Looker Studio)
Example:
text strategy_name Enter the name of your strategy
2. Can we have duplicate variable names (question names in survey sheet) when they exist inside separate groups?
Example:
begin_group off-road Off-Road
text plate Vehicle plate number
end_group
begin_group maritime Maritime
text plate Boat plate number
end_group
3 . From my recent experience, KoboToolbox does allow for duplicate variable names (question names). So in that case, I was wondering what happens when you use the relevant column with a condition pointing to another question…. how does it know which question I’m referring to? Does it prioritize what’s inside the same group first, and then if it doesn’t find anything it looks outside the group?
4. In the survey sheet, how do you name your groups? And how do you name your questions that exist inside groups? Do you follow any particular scheme? Why?
I’ve used my own method in a previous project which was to be explicit with meaning, but keeping it concise. Some examples below:
input_photo1 (for photo upload)
input_photo2
instruction_photo1 (for notes)
But I’ve also seen an example where it was numbered:
begin_group ex1
text ex1_1 Enter some text
integer ex1_2 Enter a number
decimal ex1_3 Enter a decimal number
date ex1_4 Enter a date
end_group
Also, I’ve seen that KoboToolbox has an option to automatically add the group in the header row, when exporting data. I’ve tested it and it works well…. but what’s the purpose of that?
Since it uses the slash character “/” I’m not sure if that causes issues with Power BI or Looker Studio.
5. Can we use conditional formatting when working on the Excel file (before uploading to KoboToolbox)?
In Excel, I would like to add a rule to highlight duplicates in the name column — I know how to do it, my doubt is about conditional formatting introducing any conflict with KoboToolbox.