Forum Discussion

Griggers's avatar
Griggers
Frequent Visitor
4 years ago
Solved

Gantt Chart 2.2.3 Data Issue

Hi,

Could someone tell me if there is a limit on the amout of data that this chart can load ?

Im only seeing very limited data in the chart, but when I turn the chart into a table I can see all the records that I expect.

 

Thanks

Mark

 

5 Replies

  • Griggers , Usually there is limit from 2500 data points to 30000, depending on visual. Visual start shwoing an icon for that. Are you seeing some messgae icon?

  • Griggers's avatar
    Griggers
    Frequent Visitor

    If I show the data in a table, I get 3,567 Rows and 7 Columns of data.

    Im not seeing any error message or message icon.

     

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Griggers ,

     

    Seems to be 1000 lines limit.

    You can try to expand this limit by following the steps below.

    1. downloads sources
    2. call npm install in root folder of the project
    3. Change limit in capabilities.json by adding dataReductionAlgorithm (https://docs.microsoft.com/en-us/power-bi/developer/visuals/dataview-mappings#data-reduction-algorithm)
      example is here
    4. change the GUID of the visual
    5. call npm run package to create visual package.
      if everything is ok you will get package file in dist folder of the project
    6. import the package file into Power BI.

    Refer:

    https://github.com/microsoft/powerbi-visuals-gantt/issues/199 

     

    Best Regards,

    Jay

    • orenji88_HON's avatar
      orenji88_HON
      Frequent Visitor

      Hi, could you share the modified one? the extended 30000 rows limit package.

      I have very limited knowledge using github.

    • EthanKnoll's avatar
      EthanKnoll
      New Member

      Hi Anonymous,

       

      I've tried following your instructions, however I'm stuck with the install returning several vulnerabilities and the run package failing with errors. I've tried both to "audit fix" and "audit fix --force" but still I'm unable to repackage the .pbiviz with the updated dataReductionAlgorithm.

       

      Would you be able to try on your end and share the resulting .pbiviz file?