Forum Discussion

Schizzomarino's avatar
Schizzomarino
Advocate I
6 years ago
Solved

Problem using "d3-array".rollup (and it spread argument) in a Power BI Custom Visual

Hello to you all, I am hoping someone will have a solution for a problem I have encountered using "d3-array" in a custom visual for Power BI. I have been using d3 v5 as it's got really nice data mu...
  • jppp's avatar
    jppp
    6 years ago

    Hi Schizzomarino ,

     

    Sorry, but I took a shot before trying it myself. But if I change the key attribute to ...keyany[] I can get your code working.

    I do realise that the typing are a bit off now, but looks like TypeScript doesn't work correctly with this type of parameter binding.

    But the most important thing: it compiles!

     

    -JP