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


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
Â
Â
Â


Dependency of a function on Row Context in DAX
Have you ever writen a piece of DAX Code that looks like this: and ended up confused how is it able to calculate how many years, days,...

Antriksh Sharma
Nov 18, 20214 min read
Â
Â
Â


Implementing Object Level Security in Power BI
In this blog lets see how we can implement OLS or Object Level Security in Power BI. In simple terms the difference between RLS and OLS...

Antriksh Sharma
Oct 12, 20212 min read
Â
Â
Â


Create a Date table in Power Query with M code
Having a complete date table in your SSAS model is extremely important, a complete Date table helps in ensuring that the time...

Antriksh Sharma
Oct 6, 20212 min read
Â
Â
Â


How to extract measures from Power BI to Excel or Text file?
A very common scenario in Power BI is of extracting measure into text file and then loading them back again in the Power BI file so that...

Antriksh Sharma
Sep 26, 20213 min read
Â
Â
Â
bottom of page