Einstein Analytics Data Preparation Specialist Step #4 - Answers - Salesforce Trailblazer Community
Trailblazer Community
Ask Search:
Raghvendra SinghRaghvendra Singh 

Einstein Analytics Data Preparation Specialist Step #4

Hi All,
i am getting error in setp 4
I have verified all setp but still i am getting this error

Challenge Not yet complete... here's what's wrong:
We can't find the Seed Bank dataset or required fields are missing. Check the challenge and confirm the node name and required fields.Hi

JSON

{
  "Calculate Acreage": {
    "action": "computeExpression",
    "parameters": {
      "source": "Load Seed Chart",
      "mergeWithSource": true,
      "computedFields": [
        {
          "precision": 18,
          "name": "Acreage",
          "saqlExpression": "(Seeds_Pound*Spacing)/6272640",
          "scale": 6,
          "label": "Acreage",
          "type": "Numeric"
        }
      ]
    }
  },
  "Create Seed Bank": {
    "action": "sfdcRegister",
    "parameters": {
      "rowLevelSecurityFilter": "",
      "name": "Seed Bank",
      "alias": "create_seed_bank",
      "source": "Calculate Acreage"
    }
  },
  "Load Seed Chart": {
    "action": "edgemart",
    "parameters": {
      "alias": "Seed_Chart"
    }
  }
}

Thanks
Best Answer chosen by Raghvendra Singh
Ankush AgarwalAnkush Agarwal
Hi Raghvendra,

You can compare below JSON with yours:

I have hightlighted differences:
{
  "Calculate Acreage": {
    "action": "computeExpression",
    "parameters": {
      "source": "Load Seed Chart",
      "mergeWithSource": true,
      "computedFields": [
        {
          "precision": 8,
          "name": "Acreage",
          "saqlExpression": "(Seeds_Pound*Spacing)/6272640",
          "scale": 5,
          "label": "Acreage",
          "type": "Numeric"
        }
      ]
    }
  },
  "Create Seed Bank": {
    "action": "sfdcRegister",
    "parameters": {
      "name": "Seed Bank",
      "alias": "Seed_Bank",
      "source": "Calculate Acreage"
    }
  },
  "Load Seed Chart": {
    "action": "edgemart",
    "parameters": {
      "alias": "Seed_Chart"
    }
  }
}

 

All Answers

Ankush AgarwalAnkush Agarwal
Hi Raghvendra,

Make you created Seed Bank dataset to upload Seed bank csv file.

I had to create 2 data sets to pass this challenge as below:

Requirement says about Seed Chart but challenge expects Seed bank

User-added image


Hope this will help
Raghvendra SinghRaghvendra Singh
Hi @Ankush Agarwal.

I have this data set 
User-added image
Ankush AgarwalAnkush Agarwal
Hi Raghvendra,

You can compare below JSON with yours:

I have hightlighted differences:
{
  "Calculate Acreage": {
    "action": "computeExpression",
    "parameters": {
      "source": "Load Seed Chart",
      "mergeWithSource": true,
      "computedFields": [
        {
          "precision": 8,
          "name": "Acreage",
          "saqlExpression": "(Seeds_Pound*Spacing)/6272640",
          "scale": 5,
          "label": "Acreage",
          "type": "Numeric"
        }
      ]
    }
  },
  "Create Seed Bank": {
    "action": "sfdcRegister",
    "parameters": {
      "name": "Seed Bank",
      "alias": "Seed_Bank",
      "source": "Calculate Acreage"
    }
  },
  "Load Seed Chart": {
    "action": "edgemart",
    "parameters": {
      "alias": "Seed_Chart"
    }
  }
}

 
This was selected as the best answer
Raghvendra SinghRaghvendra Singh
I think iusse was in Alias 
Now i have passed this step Thanks ANkush
Ankush AgarwalAnkush Agarwal
Could you please mark solution as best answer to close this thread and can be referred by others in future.
Ankita SaxenaAnkita Saxena
Hi All,
Could you please help me on complete this Challaenge 4.
Challenge Not yet complete... here's what's wrong:
We can't find the Acreage field. Check the challenge and confirm required field setting.

Please find json for this:-
{ "Load Seed Chart": { "action": "edgemart", "parameters": { "alias": "Seed_Chart" } }, "Calculate Acerage": { "action": "computeExpression", "parameters": { "source": "Load Seed Chart", "mergeWithSource": true, "computedFields": [ { "precision": 18, "name": "Acreage", "saqlExpression": "(Seeds_Pound*Spacing)/6272640", "scale": 6, "label": "Acreage", "type": "Numeric" } ] } }, "Create Seed Bank": { "action": "sfdcRegister", "parameters": { "name": "Seed Bank", "alias": "Seed_Bank", "source": "Calculate Acerage" } } }

what is mentioned in challenge, I did like that only but still it saying Acerage field is missing. I am not able to find out where i did wrong.
Ankush AgarwalAnkush Agarwal
Hi Ankita,

Json is looking as expected except sequence of different blocks. Can you please make sure that you are having dataflow in below sequence:

User-added image
Ankita SaxenaAnkita Saxena
User-added image                                              This is the sequenc of my Dataflow