Having difficulties enabling the audit logs in the admin / compliance portal? Getting an error ‘Sorry! We couldn’t update your organization settings. Please try again.’? Turns out it’s because your tenant might be ‘dehydrated’.
Having difficulties enabling the audit logs in the admin / compliance portal? Getting an error ‘Sorry! We couldn’t update your organization settings. Please try again.’? Turns out it’s because your tenant might be ‘dehydrated’.
In this post I explain how to call the Power BI REST APIs from Python. You can do this either with a dedicated user or a Service Principal registered from the Azure Portal. I’ll walk through the necessary steps to get this working.
It’s frustrating that in Power BI re-naming measures or moving them to another table will break any visuals using them in reports. Likewise, Power BI does not have a feature to hot-swap measures in visuals, to retain formatting or save time. Here I will show you an easy way to replace multiple measures in a Power BI report, including those used in “broken” visuals. Fix all broken visuals in Power BI reports using this method!
In this post I explain how to get dataset refresh history from Power BI using Python. For this method, you need to be a tenant Admin, and it is limited to only 7 days or 60 refreshes, per dataset. For more history, you need another API or method.
In this post I explain how to call the Power BI APIs from Python with a Service Principal to get all the publish-to-web and cross-org share links in your tenant, which pose a big governance risk.
In this post I explain how to call the Power BI APIs from Python with a Service Principal to get all the workspaces managed in your tenant. I share also a github gist for a Python script which retrieves all workspace objects, including users, datasets, reports, etc.
In this post I explain how to call the Power BI APIs from Python with a Service Principal to get the deployment pipelines managed in your tenant.
This post is a running collection of tools that I use for formatting and highlighting code in my blog. The code that I share mainly pertains to Power BI, but includes also Python and C#.
In this article, we look at how the report source control tool pbi-tools can be run in Python, and how to create a basic GUI in Python to support this.
In this post, we look at a simple way to extract the tenant settings from Power BI using Power Automate Desktop and a UI Automation / RPA flow. Inside, we have a summary of the settings and recommendations for each, as of April 2022.
A quick tutorial about how to add or modify static data tables (i.e. those created with Enter Data) using Tabular Editor 2 or 3.
In this article, we look at some tips to best use pbi-tools and how to automate pbi-tools execution in the background, using Power Automate Desktop flows.
pbi-tools is a command-line tool that enables Source / Version Control of Power BI (thin) reports and datasets. Much like the folder structure generated by Tabular Editor, pbi-tools creates a Report Layout structure based on files in the .pbix. In these articles, we go into the background of this tool & how to use it.
An important note if you are using Sensitivity Labels - files with Sensitivity Labels are currently not supported with pbi-tools. More info on that at the bottom of the article.
Scripts for TE2 and TE3 to automate querying of DMVs to document your model.
This article we examine what are Dynamic Management Views (DMVs) and how to query them from Tabular Editor 3. In the next article, we leverage the DMVs to automate documentation and tasks in our model.
In this article, we look at why using the VertiPaq Analyzer - integrated in Tabular Editor 3 & DAX Studio - should be your first step when analyzing a dataset. Describe your models and find easy optimization steps with this handy tool.
In this article, we examine the importance of empathy in growing a data culture — one where others want to participate.
Ever wondered how to get your YouTube music history? Or how to get your YouTube watch or search history?
Here I explain how to do that with a step-by-step tutorial and some sample files to help you analyze your YouTube history, yourself. There’s a lot of fun questions you can answer, like what you listen to most, or how that has changed over time.
Tabular Editor is not only a helpful tool for developing DAX. You can also use it to view & modify your Power Query M code, without ever opening Power BI desktop. Furthermore, there also exists a formatter for Power Query that can help you make your code easier to read & manage. Here, I walk through the basics, the use-cases, and a small tutorial on how to do this, yourself.
Using Tabular Editor 3 & Workspace mode, source control is that much easier, even when using Branching!
In this article, I explain how workspace mode in Tabular Editor 3 makes Source Control easy by letting you simultaneously save changes to disk but also to a service dataset for testing. I then explain how this can work when collaborating on a model, for example, using Git Branching in Power BI development.