Cyrus Cueva Baruc


Business Analyst/Power BI Developer

Hometown: Bantayan Island
Current City: Lapu-Lapu City
Phone: +639565028805
Email: cirobar@outlook.com
LinkedIn: Cyrus Baruc
My CV: Click To Download

Real-time Commenting App

Overview

This project, developed in Power Apps, is a crucial component of the Revenue Analytics project. Its primary function is to automate real-time commenting on the top and bottom drivers, dramatically reducing processing time from 4 hours to just seconds. By leveraging API, Power BI Streaming datasets, and Power Apps, this solution ensures swift and efficient analysis and commentary, providing immediate insights and enhancing decision-making capabilities.

Tools Used

Step-by-Step Implementation

1. Create the Push Dataset

In the Power BI Workspace, click the New button and select the Streaming dataset option. A window titled “Streaming dataset” will appear, allowing you to choose the data source. For this project, I selected API. image

Next, give a name to your dataset and set up the column fields. image

Once done, the streaming dataset is added to the workspace, generating API information as shown in the snapshot. image

Using this API information, we can then integrate it into our Power Apps for real-time data entries for each user’s inputs.

2. Develop the Power Apps Application:

I developed the user interface in Power Apps Studio using a mobile layout to fit within the Power BI Dashboard. The app has five main components: a dropdown option for the revenue bucket, a dropdown option for geography, a user input box for free text, a reset input button, and a submit button for finalizing entries. image

On the backend, all details inputted by the user are captured and automatically loaded into our push dataset through the code embedded in the OnSelect property of the Submit button. Here is the code:

Setting the Revenue_Drivers variable image This Set function creates a record called Revenue_Drivers with the following fields:

Converting the record to JSON image

Adding rows to the Power BI dataset image PowerBI.AddRows is a function that sends data to a Power BI streaming dataset.

This app is ready and can be added to the Power BI dashboard for easy access by users. We can then add the push dataset as our source in our Power BI project, and update and configure the data model to include our streaming dataset.

How to use the Commenting App

  1. Enable the Commenting App
    • In the Revenue Analytics Summary page, switch on the toogle button to show the commenting app. image
  2. Input Data
    • Select the appropriate revenue bucket and geography from the dropdown options.
    • Enter your driver commentaries and analysis in the provided text box.
  3. Submit Your Comments
    • Once you have completed your input, click the submit button to finalize your entry.
  4. View Comments
    • Hover over the summary table to view the driver comments in a tooltip. image

Impact

The new Power Apps automation in the Revenue Analytics project has replaced the outdated Analyze in Excel method, enabling real-time feedback directly within Power BI. This shift has accelerated data analysis and decision-making by providing immediate insights on revenue drivers. Improved collaboration and accuracy are achieved as stakeholders engage directly with reports, reducing communication delays and errors. The solution also enhances workflow efficiency by eliminating the need for manual data transfers and is scalable to accommodate business growth. Overall, these improvements facilitate quicker responses to trends and opportunities, driving strategic growth.