Adding new custom fields to the edison365ideas PowerBI template
Due to the SharePoint API limitations, Power BI reports have to restrict the fields returned from the list. To add custom fields in you will need to use the advanced editor and update the REST API query as seen below:
- Steps to include an ideas custom column. Click the Advanced Editor:
- This opens a new window:
- Scroll the window to the end of the Select query on the second line and add a comma as seen below:
- Now type the name of the new SharePoint column that you want to include in the report, if you are unsure of the column name you can navigate to the Fields admin in the edison365ideas UI, click the Idea Fields tab then find the field you want to include in the Power BI Report and copy the βSharePoint Fieldβ value as seen below:
-
- Add the column to the query in Power Query:
- Click Done
- Now double click the βRemoved Other Columnsβ step and select the new column to include
- The column will now be available in the dataset query, change the Type and Rename as needed:
- Certain columns such as People columns will require the REST query in step 4.b to include an expand, for example:
- Then expand the data in the query:
- The same steps are required to add Challenge columns into the Challenges dataset query.