Transforming data from API in Power BI
Hello Smart People!
I need to report on some data that I have compiled from many sheets in a Smartsheet report. The reporting tool that we have is Power BI, but the connector to Smartsheet defaults to IE, which isn't supported by Smartsheet. Apparently, this is a bug, and the work around is to add smartsheet.com to the "compatibility view settings", but this is locked down by our internal IT, so I can't do that. So now I'm pulling the data into Power BI via the API, which I am able to do, and pull just the report I'm interested in - great - all of the data is there - but it came over as json, and is not organized the way I need it to be to do my drag and drop grouping and reporting. All of my columns / cell data are listed as rows and repeated.
Is there an easy way to transform this data back into a neat table view without having to code it back using one of the SDKs? I'm trying to transform and pivot the data using Power BI functionality to no avail.
Sorry, I'm new to this! Thank you for any assistance!
Best Answer
-
Hi @Mark Hibyan
I believe you may be able to change the
Accept
header value to accept only CSV/Excel format. Here's the documentation on it: https://smartsheet.redoc.ly/#operation/getReportsCheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Answers
-
Hi @Mark Hibyan
I believe you may be able to change the
Accept
header value to accept only CSV/Excel format. Here's the documentation on it: https://smartsheet.redoc.ly/#operation/getReportsCheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
Thank you @Genevieve P. , I actually got the Smarsheet connector to work, but I tried this using the web / API to confirm in case others run into a similar issue, and this works, just add another header for "Accept" with "text/csv" defined, and it will pull the data in the proper column / cell format.
-
Thanks for following-up and confirming, Mark! 🙂
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives