• Home
  • About Us
  • Contact Us
  • Privacy Policy
  • Special Offers
Business Intelligence Info
  • Business Intelligence
    • BI News and Info
    • Big Data
    • Mobile and Cloud
    • Self-Service BI
  • CRM
    • CRM News and Info
    • InfusionSoft
    • Microsoft Dynamics CRM
    • NetSuite
    • OnContact
    • Salesforce
    • Workbooks
  • Data Mining
    • Pentaho
    • Sisense
    • Tableau
    • TIBCO Spotfire
  • Data Warehousing
    • DWH News and Info
    • IBM DB2
    • Microsoft SQL Server
    • Oracle
    • Teradata
  • Predictive Analytics
    • FICO
    • KNIME
    • Mathematica
    • Matlab
    • Minitab
    • RapidMiner
    • Revolution
    • SAP
    • SAS/SPSS
  • Humor

Internal error using part specification with Dataset

April 11, 2020   BI News and Info

While trying to answer this question I encountered an internal error using a Part specification to extract data for specific columns from a dataset.

dsMeetings2 = 
 Dataset@{<|"id" -> 1, "date" -> "1/03/20", "name" -> "subject-1", 
    "100" -> 1, "106" -> 1, "101" -> 1, "105" -> 1, "102" -> 1, 
    "104" -> 0, "108" -> 0, "103" -> 0, "109" -> 0, "111" -> 0|>, <|
    "id" -> 2, "date" -> "8/03/20", "name" -> "subject-2", "100" -> 1,
     "106" -> 1, "101" -> 1, "105" -> 1, "102" -> 0, "104" -> 0, 
    "108" -> 0, "103" -> 1, "109" -> 0, "111" -> 0|>, <|"id" -> 3, 
    "date" -> "15/03/20", "name" -> "subject-3", "100" -> 1, 
    "106" -> 1, "101" -> 0, "105" -> 1, "102" -> 1, "104" -> 1, 
    "108" -> 0, "103" -> 0, "109" -> 0, "111" -> 0|>, <|"id" -> 4, 
    "date" -> "22/03/20", "name" -> "subject-4", "100" -> 1, 
    "106" -> 0, "101" -> 0, "105" -> 0, "102" -> 0, "104" -> 0, 
    "108" -> 1, "103" -> 1, "109" -> 1, "111" -> 0|>, <|"id" -> 5, 
    "date" -> "29/03/20", "name" -> "subject-5", "100" -> 1, 
    "106" -> 0, "101" -> 1, "105" -> 1, "102" -> 1, "104" -> 1, 
    "108" -> 0, "103" -> 0, "109" -> 1, "111" -> 0|>, <|"id" -> 6, 
    "date" -> "5/04/20", "name" -> "subject-6", "100" -> 1, 
    "106" -> 0, "101" -> 0, "105" -> 1, "102" -> 0, "104" -> 0, 
    "108" -> 0, "103" -> 1, "109" -> 1, "111" -> 1|>}

dsMeetings2[All, {1, 3 ;;}]

General::interr2: An unknown internal error occurred. Consult
Internal`$ LastInternalFailure for potential information.

kKCqe Internal error using part specification with Dataset

I can post the long results from Internal`$ LastInternalFailure if that would help.

This unexpectedly works fine

dsMeetings2[All, {1, 3 ;;}] // Normal

so does this

dsMeetings2[All, {1, 4 ;;}]

Any ideas for workarounds without converting to Normal?

I will report this to WRI.

Let’s block ads! (Why?)

Recent Questions – Mathematica Stack Exchange

Dataset, Error, internal, Part, specification, using
  • Recent Posts

    • NOW, THIS IS WHAT I CALL AVANTE-GARDE!
    • Why the open banking movement is gaining momentum (VB Live)
    • OUR MAGNIFICENT UNIVERSE
    • What to Avoid When Creating an Intranet
    • Is Your Business Ready for the New Generation of Analytics?
  • Categories

  • Archives

    • January 2021
    • December 2020
    • November 2020
    • October 2020
    • September 2020
    • August 2020
    • July 2020
    • June 2020
    • May 2020
    • April 2020
    • March 2020
    • February 2020
    • January 2020
    • December 2019
    • November 2019
    • October 2019
    • September 2019
    • August 2019
    • July 2019
    • June 2019
    • May 2019
    • April 2019
    • March 2019
    • February 2019
    • January 2019
    • December 2018
    • November 2018
    • October 2018
    • September 2018
    • August 2018
    • July 2018
    • June 2018
    • May 2018
    • April 2018
    • March 2018
    • February 2018
    • January 2018
    • December 2017
    • November 2017
    • October 2017
    • September 2017
    • August 2017
    • July 2017
    • June 2017
    • May 2017
    • April 2017
    • March 2017
    • February 2017
    • January 2017
    • December 2016
    • November 2016
    • October 2016
    • September 2016
    • August 2016
    • July 2016
    • June 2016
    • May 2016
    • April 2016
    • March 2016
    • February 2016
    • January 2016
    • December 2015
    • November 2015
    • October 2015
    • September 2015
    • August 2015
    • July 2015
    • June 2015
    • May 2015
    • April 2015
    • March 2015
    • February 2015
    • January 2015
    • December 2014
    • November 2014
© 2021 Business Intelligence Info
Power BI Training | G Com Solutions Limited