Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hello,
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.
Now I want to modify that data. I tried this approach:
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).
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).
So:
¿Is there any way I can draw a line chart with pushed data with 2 values and a legend?
¿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?
Is it possible to do this using only NodeJS code? without Azure AD oauth?
In general, what is the best approach to do this? Dirty or clean.
Solved! Go to Solution.
Do you mean that you use a field of the new dataset as legend after merging the dataset?
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.
Do you mean that you use a field of the new dataset as legend after merging the dataset?
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.
Hi V-lianl-msft, thanks for your reply,
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?
Sorry, a table of 3 columns. 2 of numeric values, and 1 legend
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 6 | |
| 4 | |
| 4 | |
| 2 | |
| 2 |