PROXY CONFIGURATION FOR MICROSOFT ON-PREMISES DATA GATEWAY

PROXY CONFIGURATION FOR MICROSOFT ON-PREMISES DATA GATEWAY

The on-premises gateway is a bridge that provide a secure data transfer between on-premises data and Microsoft cloud services like Power BI. In today’s post we will discuss how to configure a proxy for On-Premises data Gateway to communicate with Power BI. So how do you determine if a proxy is blocking your Gateway connection? Run the network ports test. The results of the test will either be (Success) or (Failed). If you see failed result, it means your network environment…

Read More Read More

INSTALLING AZURE MACHINE LEARNING SDK FOR PYTHON

INSTALLING AZURE MACHINE LEARNING SDK FOR PYTHON

Azure Machine Learning SDK for Python is used to build and run machine learning workflows with the AzureML Services, it allow us to manage cloud resources of AzureML in our local Python environments. With the help of AzureML SDK, you can train Machine Learning models on your local machines without worrying about the environment. In this post, we will discuss how to install AzureML SDK. Step 1. Using your favorite Python IDE, type “pip install azureml-sdk”. For this example, I…

Read More Read More

LOST POWER BI GATEWAY RECOVERY KEY? NO PROBLEM

LOST POWER BI GATEWAY RECOVERY KEY? NO PROBLEM

In this post, we will discuss how to restore a Gateway when you lost the Recovery Key, without manually recreating the Data sources for the new Gateway. I have two Power BI Gateways, one of the Gateways with most of my data sources failed to come back online after an update. I installed a new Gateway to restore the old Gateway that failed to come back online, but I have lost the Recovery Key. For now, there is no way…

Read More Read More

How to clear sort by column on power bi desktop Visual

How to clear sort by column on power bi desktop Visual

A quick post about how to clear Sort by Column on Power BI Desktop. On Power BI Desktop, you can select Sort by from the More options (…) on the visual and choose the column to Sort by. This automatically choose the Sort order for you: sort descending or Sort ascending. The below table is sorted by City column in descending order. You can choose to Sort by City in ascending order as well. If you change your mind not…

Read More Read More

AVERAGE IN POWER BI VS EXCEL

AVERAGE IN POWER BI VS EXCEL

I recently came across an issue where Total average in Power BI shows different value in Excel for the same data, which seems to be incorrect in Power BI. In today’s post, we will discuss how Power BI and Excel calculate Averages. Power BI calculate Average as an (arithmetic mean) of all the numbers in the specified column. Example; the following function “= AVERAGE(Shipping[Cost])” returns the average of the values in the column Cost in Shipping table. The function takes…

Read More Read More

POWER BI REPORT IN JUPYTER NOTEBOOK

POWER BI REPORT IN JUPYTER NOTEBOOK

With the new powerbiclient Python package, you can now embed Power BI reports in Jupyter notebook. You can filter the report and use bookmarks to apply a saved view. Lets go through the steps: Install the powerbiclient Python package using pip 2. In Jupyter notebook, import the Report class and models from the powerbiclient package. 3. Authenticate to Power BI using Azure AD, this will generate a code to authenticate with. 4. Get the Workspace/GroupID and Report ID from Power BI Service for…

Read More Read More

DYNAMIC RANKX BY SLICER SELECTION IN POWER BI

DYNAMIC RANKX BY SLICER SELECTION IN POWER BI

A quick post today about how to use RANKX based on slicer selection in Power BI. A RANKX return the ranking of a number for each row in a table. The following DAX rank the Sales Amount for each Product and works fine without a slicer. = RANKX(ALL(Products), SUMX(RELATEDTABLE(InternetSales), [SalesAmount])) The solution below will show how to use RANKX with a slicer and get the expected result. I have two tables: Employees and Orders, related by Employee ID. I have…

Read More Read More

FIX MATRIX COLUMN WIDTH IN POWER BI

FIX MATRIX COLUMN WIDTH IN POWER BI

The “Auto-size column width” option on Power BI Desktop will automatically resize the width of table or matrix columns depending on the value. What if you want to resize the width of all your columns with the same size without using the “Auto-size column width”? Well, currently there is no automatic way of resizing column width to have the same size for matrix or table visual in Power BI. I have come across this question a few times now, I…

Read More Read More

MERGE VS RELATIONSHIP IN POWER BI

MERGE VS RELATIONSHIP IN POWER BI

When to use Merge or Relationship in Power BI? I have come across this question many times and decided to write a blog post about it. Merge: A Merge is when you have one or more columns in one Table and you want to add the columns to a related Table using a common field. I have Customers table in SQL Server and Orders table in SharePoint (Two different locations). I want to create a report of Total Orders and…

Read More Read More

ADDING AZURE AD SECURITY GROUP TO POWER BI WORKSPACE USING POWERSHELL

ADDING AZURE AD SECURITY GROUP TO POWER BI WORKSPACE USING POWERSHELL

In this post, we will discuss how to add an AD Security group to Power BI Workspace using PowerShell script. If you have many users in your organization, it can be tedious to add users one by one as members or Admins to a Power BI Workspace. With PowerShell, you can add an AD group to Power BI Workspace using the Groups – Add Group User API or Add-PowerBIWorkspaceUser Cmdlet. What you will need: Object ID for the group From…

Read More Read More

REFRESHING ODBC DATASOURCE ON POWER BI SERVICE

REFRESHING ODBC DATASOURCE ON POWER BI SERVICE

Power BI has many data connectors you can use to connect to your Data Source. If your Data Source is not listed from Get Data on Power BI Desktop, you can use one of the following generic data interfaces: ODBC OLE DB OData REST APIs R Scripts While working on a recent project,  I see that after adding an ODBC Data Source to Power BI Gateway using the same connection string on Power BI Desktop, the Gateway still shows ”…

Read More Read More

Power BI Gateway High Availability Options

Power BI Gateway High Availability Options

In this post, we will discuss the different options for On-Premises data Gateway high availability in Power BI. To refresh On-Premises Data sources on Power BI Service, you need a Gateway. You can use an on-premises data gateway cluster to avoid single points of failure and distribute load across gateways in a cluster. There are two types of high availability solutions for Power BI Gateway: Load balancing High Availability Failover High Availability Load Balancing HA: Offline gateway within a cluster…

Read More Read More