A Complete Guide to Connect Rally API in Microsoft Power BI Desktop

Hi All,

Introduction:

Power BI is a very useful software and app that provides various services to turn unrelated data sources into reasonable, visually fascinating, and interactive insights. Power BI connects with several data sources and provides visually immersive data visualizations. The Rally API can also be used as a data source that helps to automatically fetch the data from Rally and automates the refreshing of data into the visualisations without any manual interactions. Rally is a CA Agile Central software that aids in project management through the use of cloud-based technology. Most of the computer software industries use Rally Software to enhance their productivity over multiple projects running at the same time.

Rally is efficient software to increase the productivity of any kind of project, for instance, software development projects. The industries using Rally Software include IT and services, computer software, financial services, hospitals and healthcare, banking, telecommunication, higher education, computer hardware, and insurance. The tool or software is used to track each phase of the development process.

With the help of Rally Software, we are going to learn how we can enhance the productivity of reports and dashboards in Microsoft Power BI. You will know each step of connecting Microsoft Power BI Desktop with the API of Rally software.

What is Microsoft Power BI?

Power BI is a software that helps create visualisations of the available data. It becomes tedious to manipulate the data available in CSV or XLSX formats to find useful insights. But Power BI increases productivity with its features that help define several visualisations of the data without any manual intervention. It becomes easy to connect data sources in Power BI to visualise and discover important data. We can add the source of data from a number of options available in Microsoft Power BI Desktop to fetch our data. The visualisations that we create are shareable and can be shared with anyone or everyone we want. The Power BI software can be accessed through the use of Power BI Desktop software or its online Power BI service. Microsoft provides Power BI for Windows as Power BI Desktop, an online SaaS (Software as a Service) called Power BI Service, and its mobile apps for Windows, iOS, and Android devices. As it is available to be used on multiple platforms, it enhances the flow of work in the workplace.

What is Rally?

Rally is software formerly called CA Agile Central and is an enterprise-class platform that is used for scaling agile development practices. Rally helps organisations and teams plan, manage, and track the continuous improvements in projects. It helps to take useful steps for better output from the work.

Various organisations use Rally software worldwide to find useful insights, improve performance, and track the progress of on-going or completed projects. It accelerates the performance and pace of innovations to deliver value faster to projects and enterprises. Rally software provides visibility for tracking progress, dependencies, and roadblocks across several teams, programs, and projects.

What is Rally API?

Rally API stands for Rally Application Programming Interface, which means that Rally can be integrated with an application through the use of this API. The Rally API is an advanced tool that helps integrate the CA Agile Central subscription with other external applications and services.

What the Rally API does is make HTTP POST requests to the URL, which includes accessing the rally dashboard and fetching data to the application software.

The Rally API helps to forecast and track progress, manage scope, and identify bottlenecks in other external applications and services. To use Rally APIs, it is required to create API keys from the CA Agile central application manager for app developers and users. While creating the API key, you will be asked for your Rally CA Agile Central Login Username and Password.

The Rally API also requires a query in the API key to fetch the data such as pagesize, order, and more.

The following are the benefits of using the Rally API to automate data fetch and update:

The Rally API is very useful when we need to get the data into some external applications and services. Here are some benefits of using the Rally API:

  • It helps to fetch the data from rally user stories and dashboards to other external applications that support fetching data from web sources.
  • Extends apps' usefulness and customization for the views and dashboards.
  • Building your own integration with the Web Services API can also be done using the Rally API.
  • It can be integrated with any software application that supports data sources from the web.

Steps to connect Rally API with Power BI:

Here are some useful steps that will help you go through the process of connecting the Rally API with Microsoft Power BI.

  1. Launch the Microsoft Power BI Desktop Software.
  2. Go to Get Data from the Home tab of the Power BI Desktop.
  3. Select the Web as a data source.
  4. Paste the following link that works as a rally API:
  5. https://rally1.rallydev.com/slm/webservice/v2.0/hierarchicalrequirement?workspace=https://rally1.rallydev.com/slm/webservice/v2.0/workspace/User_Story_ViewID&project=https://rally1.rallydev.com/slm/
    webservice/v2.0/project/User_Story_ID&fetch=true&start=1&pagesize=3000
  6. In the above link, User_Story_ViewID should be replaced with the user storey id that you want to fetch from your Power BI Desktop.
  7. You can get the user_story_viewid from the address bar. (See example below):



  8. In the above image, the address from the address bar is shown. When you open your rally dashboard and any user storey view, the address will be shown just like in the above image.

    You can find the User_Story_ViewID in the address bar located between # and users.

  9. Copy that User Story View Id and paste it in the URL in step 4.
  10. After that, give a pagesize to it, i.e., in place of 3000, any number of rows you want to fetch from that user story.
  11. After entering this URL as a data source in Power BI Desktop, press ENTER and it will start fetching data from the user stories.
  12. You will be prompted to enter your rally credentials in Power BI Desktop before it actually starts to fetch the data.
  13. After entering username and password, it will start fetching data from user stories and you can clearly see the rows and columns in the Power Query Editor.
  14. Now you have added this API to Microsoft Power BI and can perform multiple operations on that data, such as selecting columns, renaming, and applying them to take them to the Power BI Desktop to create visuals from that data.

FAQs:

Q. Is it helpful to automate data refresh in Power BI dashboards?

A. Yes, it is very useful to automate the data refresh in Power BI dashboards when the data is continuously changing. When you create any dashboard, it should not be static or get data from any source from the system, as the data will be the same even if the updated data is available on the internet. You can set the data source to web and apply the auto refresh option so that the data in dashboards and visuals will be automatically updated when any new information is added on the web.

Q. Can I connect Rally with only limited data in Power BI?

A. Yes, after connecting the rally API to the PowerBI Desktop. You can perform various operations on that data, such as selecting columns, rows, and other operations. By doing this, you can only fetch limited data in Power BI. It is considered best practise to choose only limited data to fetch from the web to save time and avoid fetching unusable data.

Q. For what purpose Rally is used?

A. Rally is used by enterprises and business leaders to track, manage, and plan the progress of any project. The projects can be of any type, such as software development projects or other developmental activities in the organisation. It helps to effectively manage all the tasks in the project.

Q. What are the benefits of Power BI?

A. Power BI is very useful for creating visuals and interactive dashboards from data. There are some benefits to Power BI which include:

  • It provides Business Intelligence to all.
  • Power BI helps to bring life to the data.
  • Power BI easily connects to data sources.
  • Power BI is also capable of Artificial Intelligence.
  • Automates the data updation in dashboards by the use of APIs.
  • It also provides custom visualizations.