Skip to content

Power BI – split budget into ratios via DAX

  • ilyar126 

In certain times, you would like to split a higher grain number into lower grain by using some percentage ratios. For example, if you have a budget for Product Brand all up, we want to split further the budget into Product Names based on last year’s sales percentage ratios. You can do this by: Procedure steps to split budget categories First, we have the high-level budget figures for the next… Read More »Power BI – split budget into ratios via DAX

Excel Cube functions explained: Cubevalue, Cubeset, Cubemember

One of my favorite Excel functions to do business modeling are Cube functions. They act as a more efficient replacement for SUMIFS, GETPIVOTDATA functions that serve to sum aggregated results with various filters applied. Cube functions (CUBEVALUE, CUBEMEMBER, CUBESET) will only work if you have a PowerPivot model or live cube connection in your Excel file. How to use Cube functions In my experience, when using Cube functions, I prefer… Read More »Excel Cube functions explained: Cubevalue, Cubeset, Cubemember

Setting up a Wireguard VPN (on Linux)

A VPN (virtual-private-network) allows you to route all your traffic through a computer. This makes your browsing more secure and you can bypass regional-blocked content. Modern-day options include NordVPN, ExpressVPN, etc. but today I am going to show you why and how to create your own VPN using Wireguard. Why? Have you ever heard VPNs claiming: “Your ISP can see everything you do online!”. Well, I don’t want to spoil… Read More »Setting up a Wireguard VPN (on Linux)

Sum of all numbers from 1 to n

You all had this experience at least once. You have to calculate the sum of all numbers to n, so naturally you start counting and counting, starting all over again because you made a mistake and finally using a calculator to get the answer. Well I don’t want to ruin your day but you did everything wrong. There’s a much simpler way to do this. Here’s how: Formula to calculate… Read More »Sum of all numbers from 1 to n

Are vector-databases the new craze?

Unlike traditional databases that use a row-column-architecture, vector-databases use vectors to represent their data. For reference a vector is a 1-dimensional array of numbers like [0.64, 0.32, 0.97]. This means that there isn’t a set grid where the vectors can be placed while still being able to do classical operations. All these vectors get stored in an embedding which is like a room with many dimensions. Each value in a… Read More »Are vector-databases the new craze?

Power BI: add KPI arrow triangles to your Variance Metrics

Anybody up for coloring Egyptian pyramids with Power BI? Just kidding 🙂 How about creating nice looking triangle arrows for your comparison measures colored dynamically based on the values. My goal is to assign up and down arrows or rectangles next to the year-over-year (yoy) growth percentages, colored green for going up and red for going down. The measure next to the percentage arrows should look something like that: Follow… Read More »Power BI: add KPI arrow triangles to your Variance Metrics

Excel CUBEVALUE vs SUMIFS & GETPIVOTDATA

Once CUBEVALUE formula came out about 10 years ago along with PowerPivot, I was delighted because it had filled the gap that was missing in SUMIFS and GETPIVOTDATA formulas for certain usage scenario.