top of page
Power BI | Excel | Python | SQL
Search


Convert Hour Minute Seconds text to Minutes in Power Query
In this post let's take a look at how to convert a text string such as 2h15m8s to 135.13 minutes This is the table that we are working...

Antriksh Sharma
Jun 12, 20232 min read


Export users in Power BI Workspaces with Python and REST API
In this blog let's take a look at how you can use Python to export users across all workspaces in Power BI Service into an Excel file....

Antriksh Sharma
May 16, 20233 min read


Applying a Filter on Dimension vs Fact in DAX
While working with DAX, a common mistake that anyone makes (that I also made) is to think that applying a filter on a column of a...

Antriksh Sharma
May 10, 20234 min read


ALL Functions vs Security in DAX
One thing that we are used to is ALL functions ignore filters and return either a unique value or complete table when used as a table...

Antriksh Sharma
Apr 28, 20231 min read


Refresh Individual Power BI Tables or Partitions with PowerShell
Power BI Service allows you to refresh your model completely but sometimes that's not what you want specifically when you are making...

Antriksh Sharma
Apr 3, 20234 min read


Add or Remove a User or Group from all Workspaces in Power BI Service
Here is PowerShell script that adds a particular user or a group to all the workspaces in a tenant. The Where-Object method filters the...

Antriksh Sharma
Mar 11, 20232 min read


Export Measures from Power BI using C#
Here is a code that exports measures from Power BI Desktop, Power BI Service, or Analysis Services Tabular On Premise using C#. //...

Antriksh Sharma
Mar 3, 20232 min read


445, 454, or 544 Week table in Power BI and Excel
I was looking for a good week based date table on Internet and found only 1-2 but I didn't find columns that I needed, so my search ended...

Antriksh Sharma
Feb 16, 20231 min read


Extract model.bim file from Power BI & SSAS Tabular with Python
Model.bim is a JSON file which is the skeleton of your Power BI or SSAS Model, using this file you can create a database from scratch,...

Antriksh Sharma
Feb 5, 20233 min read


Create SSAS Tabular and Power BI Dataset with Python from Model.bim
In this blog let's take a look at how you can use the Model.bim file extracted either from SSAS Tabular, Power BI Desktop or Power BI...

Antriksh Sharma
Jan 29, 20234 min read


Publish Power BI reports using PowerShell Cmdlet
As the title suggest let's see how to publish multiple reports to Power BI Service with PowerShell. First order of buisness is to ensure...

Antriksh Sharma
Jan 21, 20232 min read


Loop over YouTube playlists with Python and get video title, likes, views, and duration.
Here is a Python script that allows iterates over a YouTube playlists. The current limitation is that I have to prepare a dictionary with...

Antriksh Sharma
Jan 16, 20231 min read


Generate Large Dataset for Power BI
I this blog I want to show how you can use the Contoso Generator from SQLBI - Contoso Data Generator There are quite a few options that...

Antriksh Sharma
Jan 8, 20234 min read


How to make Power Query remember the data types of columns before expanding.
A common issue that I have faced consistenly is that when expanding columns that contains tables in Power Query the data types of the new...

Antriksh Sharma
Oct 31, 20223 min read


Get all Reports from Power BI Service using Rest API and PowerShell
Someone asked on Power BI Service on how to get all reports across all Premium workspaces so I started reading documentation and found...

Antriksh Sharma
Oct 24, 20222 min read


How many queries can Power BI engines cache?
If you work with Power BI and SSAS Tabular one thing to know is that there are 2 engines in Analysis Services i.e. Formula & Storage...

Antriksh Sharma
Sep 6, 20224 min read


Performance penalty of Measures in Filters Pane in Power BI
In this blog let's take a look at the performance of a report when you use a Measure in the Filter Pane. Let's say you have a data model...

Antriksh Sharma
Jul 8, 20223 min read


Complex behaviour of slicers in Power BI
Recently I faced a situation where a simple measure such as COUNTROWS was returning a blank, yeah what's up with that? COUNTROWS...

Antriksh Sharma
Apr 29, 20223 min read


Full Outer Join in DAX in Power BI and SSAS Tabular
DAX language of Power BI and SSAS Tabular doesn't have a function for Full Outer Join so in this blog we are going to see a work around...

Antriksh Sharma
Mar 28, 20225 min read


Getting started with Aggregations in Power BI - Part 1
In this article let's take a look at how to get started with aggregations feature in Power BI. I will try to explain aggregations in a...

Antriksh Sharma
Mar 10, 20227 min read


Using Python to Execute DAX Queries in Power BI & SSAS Tabular - Part 1
In this blog let's take a look at how you can use Python to connect to either Power BI or SQL Server Analysis Services to run DAX...

Antriksh Sharma
Feb 24, 20223 min read


Course: Tabular Editor 3
Last year we released a course on one of the most famous development tool for Power BI, check out the interview I had with EDNA.

Antriksh Sharma
Feb 6, 20221 min read



Antriksh Sharma
Jan 16, 20220 min read


Storing a column as String or Integer in Analysis Services
Recently someone asked a question that whether they should store a column in a Tabular model in String or Integer format and in this short blog I just want to help you decide it by yourself. In Power Query I have create 2 tables with different data types Let's load these tables in the data model and open DAX Studio and view the vertipaq Analyzer metrics. We can see that both column have a Dictionary encoding: The size of the dictionary varies however, the overall size mention

Antriksh Sharma
Dec 20, 20212 min read
bottom of page