Skip to content

ilyar126

SQL DB too large? Here is how to shrink it

  • ilyar126 

Once in a while, SQL database and log files get cluttered with data that you don’t need that occupy your hard drive space. If you are in that situation and are running low on disc space, you need to periodically clean your log files and shrink your database There are few ways to do it, but the easiest way is as follows: Open Microsoft SQL Server Management Studio and connect… Read More »SQL DB too large? Here is how to shrink it

Subtotal Counters within Groups and Subgroups for Calculated Columns

Very often there is a need to calculate counts of various elements within groups or subgroup. This is very useful for calculating ratios. They key element of a ratio is to get the right denominator within desired filter context. Here I will describe the easy way to get any desired count of a group or a subgroup in the calculated column that could be later used for the ratio’s denominator.… Read More »Subtotal Counters within Groups and Subgroups for Calculated Columns

Connect Excel to PowerBI Desktop

There are a few ways to connect Excel to a PowerBI Desktop file. The easiest way meanwhile is to use DAX Studio (can be downloaded for free here: https://daxstudio.org/) Steps are as follows: 1. Open PowerBI Desktop file that you want to connect to. In my case I opened CoronaPBI file that I was working on. 3. In the DAX Studio, enable these options: Show External Tools should be checked.… Read More »Connect Excel to PowerBI Desktop