- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2020 11:10 PM
Hello Team,
i have a requirement to show the report in power bi from servicenow problem table, please how to do this.
should i do power bi integration , if yes please provide the steps too as i am new to integration.
Thanks in advance.
Solved! Go to Solution.
- Labels:
-
Service Desk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-04-2020 01:37 AM
I guess there some issue with the URL you are using:
Go to REST APi explorer and in there below the Prepare request option select the problem table from the drop down.
Click on the send button you will get a correct url for the request .
replace the url in code with the one you will get in the REST API explorer.
Remeber to change this part only.
https://<host>.com/api/now/table/problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2020 11:28 PM
Hi Chandan,
Use below code to extract the data from ServiceNow to power bi using rest API.:
Please note this will not support incremental refresh as ServiceNow rest API does not support query folding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2020 11:55 PM
Hey Raks,
Thank you so much for the quick replay, could you please help me where to write this scrip as i am new to integration.
Steps to get this integration.
Thanks in advance. Appreciated your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2020 11:59 PM
You can write this using the blank query option in the Get Data. Juts copy paste this code into the query after removing any default code.
You need to replace your instance of servicenow in the host part of the code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2021 08:42 AM
Hi Raks,
The above query helped to fetch the records. Can we modify fetch specific columns specifying the sysparm_fields.
I tried to do that but it still shows all the fields in the result.
Regards,
Nishant