Hi there
Im looking for help with my Json file Im trying to use for a remote dataset? Whenever I specify something in dataroot, the Test data URL just returns two square brackets but if I leave dataroot blank, and then do a Test Data URL I get the contents showing of my json file. Ive declared all my columns etc and if I understand this correctly, I should be specifying ‘Legend’ as my dataroot? Heres the content of my json file :
[
{
“Legend”: “Actual to Date”,
“Ply”: 58645,
“Tru”: 40832,
“Dob”: 34394,
“East”: 42403,
“West”: 20615,
“Val”: 20265
},
{
“Legend”: “Budget to Date”,
“Ply”: 58007,
“Tru”: 48242,
“Dob”: 32720,
“East”: 40140,
“West”: 20564,
“Val”: 20186
},
{
“Legend”: “Forecast”,
“Ply”: 58654,
“Tru”: 40832,
“Dob”: 34348,
“East”: 42403,
“West”: 20615,
“Val”: 20265
},
{
“Legend”: “Budget”,
“Ply”: 58007,
“Tru”: 48242,
“Dob”: 32720,
“East”: 40140,
“West”: 20564,
“Val”: 20186
}
]
So when I add Legend into dataroot I get two square brackets returned only (same if I try Ply or Tru etc as a test), leave dataroot blank and use the Test Data URL, I get the following :
{
“entries”: [
[
{
“Legend”: “Actual to Date”,
“Ply”: 58645,
“Tru”: 40832,
“Dob”: 34394,
“East”: 42403,
“West”: 20615,
“Val”: 20265
},
{
“Legend”: “Budget to Date”,
“Ply”: 58007,
“Tru”: 48242,
“Dob”: 32720,
“East”: 40140,
“West”: 20564,
“Val”: 20186
},
{
“Legend”: “Forecast”,
“Ply”: 58654,
“Tru”: 40832,
“Dob”: 34348,
“East”: 42403,
“West”: 20615,
“Val”: 20265
},
{
“Legend”: “Budget”,
“Ply”: 58007,
“Tru”: 48242,
“Dob”: 32720,
“East”: 40140,
“West”: 20564,
“Val”: 20186
}
]
],
“number”: 1,
“processed”: [
[
{
“Legend”: “Actual to Date”,
“Ply”: 58645,
“Tru”: 40832,
“Dob”: 34394,
“East”: 42403,
“West”: 20615,
“Val”: 20265
},
{
“Legend”: “Budget to Date”,
“Ply”: 58007,
“Tru”: 48242,
“Dob”: 32720,
“East”: 40140,
“West”: 20564,
“Val”: 20186
},
{
“Legend”: “Forecast”,
“Ply”: 58654,
“Tru”: 40832,
“Dob”: 34348,
“East”: 42403,
“West”: 20615,
“Val”: 20265
},
{
“Legend”: “Budget”,
“Ply”: 58007,
“Tru”: 48242,
“Dob”: 32720,
“East”: 40140,
“West”: 20564,
“Val”: 20186
}
]
],
“messages”: [
“Processing 1 results into 7 potential columns”,
"Processing Result with Data Root ",
“DataRoot is an array”,
“Processing 0”,
“Processing 1”,
“Processing 2”,
“Processing 3”,
“Consolidating entries”,
“There are 4 entries in total”
]
}
Any suggestions would be lovely - new to all this
Thanks
Jimbo