liprec / powerbi-d3jsvisual

Home of the code of my Power BI Custom Visual: D3JS Visual
MIT License
57 stars 20 forks source link

d3.time.format doesn't seem to work #10

Open alexisc67 opened 6 years ago

alexisc67 commented 6 years ago

Hi, I have not been able to make the parsing of date to work in PBI. It fails to show. I have tried several formats with the same result. The source data is a date already in PowerBI.

    var formatDate = d3.time.format('%Y-%m-%d').parse;
    leftRow[0] = formatDate(d.date);

The content of leftRow[0] is blank.

Thanks!