<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Best approach to modify data set from api to show a line chart? in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Best-approach-to-modify-data-set-from-api-to-show-a-line-chart/m-p/1867851#M29638</link>
    <description>&lt;P&gt;Sorry, a table of 3 columns. 2 of numeric values, and 1 legend&lt;/P&gt;</description>
    <pubDate>Thu, 27 May 2021 14:24:04 GMT</pubDate>
    <dc:creator>Sergio_DG</dc:creator>
    <dc:date>2021-05-27T14:24:04Z</dc:date>
    <item>
      <title>Best approach to modify data set from api to show a line chart?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Best-approach-to-modify-data-set-from-api-to-show-a-line-chart/m-p/1860733#M29568</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a dataset that was uploaded via csv to power bi desktop. Then I publish the data set to Power Bi Service to generate a report and display it in my app through the code of Power Bi Embedded Samples repository.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I want to modify that data. I tried this approach:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Making a post of my data in form of JSON to a dashboard tile with streaming service, (to not use Azure AD auth). The problem was that once the data was up, I couldn't draw it properly. The line chart didn't allows me to pass 2 data columns and a legend. (so I didn't moved forward on how to show the dashboard in my app).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically what I want is a way to modify data (add and remove rows) before showing in my app the correponding chart, and showing it properly (line chart with 2 values and a legend).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;¿Is there any way I can draw a line chart with pushed data with 2 values and a legend?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;¿Is there a way I can modify data programatically that was published from power bi desktop and draw the line chart with 2 values and a legend?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to do this using only NodeJS code? without Azure AD oauth?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In general, what is the best approach to do this? Dirty or clean.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 16:34:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Best-approach-to-modify-data-set-from-api-to-show-a-line-chart/m-p/1860733#M29568</guid>
      <dc:creator>Sergio_DG</dc:creator>
      <dc:date>2021-05-24T16:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Best approach to modify data set from api to show a line chart?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Best-approach-to-modify-data-set-from-api-to-show-a-line-chart/m-p/1866522#M29624</link>
      <description>&lt;P&gt;Do you mean that you use a field of the new dataset as legend after merging the dataset?&lt;/P&gt;
&lt;P&gt;As far as I know, there is no such Rest API. You can only merge the data sources through desktop, then re publish the report, and then update the app in the application.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.poweredsolutions.co/2019/04/09/combine-or-append-data-in-power-bi-power-query-main-concepts/" target="_self"&gt;https://www.poweredsolutions.co/2019/04/09/combine-or-append-data-in-power-bi-power-query-main-concepts/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 06:50:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Best-approach-to-modify-data-set-from-api-to-show-a-line-chart/m-p/1866522#M29624</guid>
      <dc:creator>V-lianl-msft</dc:creator>
      <dc:date>2021-05-27T06:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: Best approach to modify data set from api to show a line chart?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Best-approach-to-modify-data-set-from-api-to-show-a-line-chart/m-p/1867849#M29637</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi V-lianl-msft, thanks for your reply,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, I sent a table with 2 columns, 2 of values and 1 for the legend. I did it via data streaming in a tile, but once the data hits the tile, it only allows me to draw 1 value and the legend. Is there any way in general to achieve drawing the 2 values and the legend? or any workaround?&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 14:23:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Best-approach-to-modify-data-set-from-api-to-show-a-line-chart/m-p/1867849#M29637</guid>
      <dc:creator>Sergio_DG</dc:creator>
      <dc:date>2021-05-27T14:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: Best approach to modify data set from api to show a line chart?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Best-approach-to-modify-data-set-from-api-to-show-a-line-chart/m-p/1867851#M29638</link>
      <description>&lt;P&gt;Sorry, a table of 3 columns. 2 of numeric values, and 1 legend&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 14:24:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Best-approach-to-modify-data-set-from-api-to-show-a-line-chart/m-p/1867851#M29638</guid>
      <dc:creator>Sergio_DG</dc:creator>
      <dc:date>2021-05-27T14:24:04Z</dc:date>
    </item>
  </channel>
</rss>

