Skip to content
No results
  • Home
  • Posts
Data Mechanics
Data Mechanics
  • Home
  • Posts
Data Mechanics
Data Mechanics
  • Python

Avoiding RecursionError in Qt Tree UIs with Iterative DFS

Today I want to share a Python trickt hat has been very useful in our UI code for Measure Killer. Credit for this suggestion to Pedro Smiderle, my college at Brunner BI and an absolute python legend. The problem is…

  • Klaus Folz
  • September 1, 2025
  • Power BI

Quick fix for outdated Usage Metrics Report in the Power BI Service

A while back I wanted to check the usage metrics for one of my reports in the Power BI Service, to see the page views and report opens. So I used the good old ‘View usage metrics report’ under the…

  • Klaus Folz
  • May 21, 2025
  • Power BI, Power Query

An Easy Way to Handle Chained Discounts in Power Query

Introduction In a recent Power BI sales project, I needed to calculate the final price for each order after applying multiple discounts. At first, I tried a “row-by-row” approach, but I quickly realized it was complicated and had poor performance.…

  • Klaus Folz
  • April 21, 2025

Data Mechanics by Klaus Folz