Posts

Writing on data, charts, Python and BI by Klaus Folz.

  1. 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. 3 min read Python
  2. 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 'More options' of the… 2 min read Power BI
  3. An Easy Way to Handle Chained Discounts in Power Query 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… 4 min read Power BIPower Query
Portrait of Klaus Jürgen Folz

About the author

Hello there, I’m Klaus Jürgen Folz. I studied Mechanical Engineering at the Federal University of Rio Grande do Sul (UFRGS) in Brazil, and I work in Austria as a lead Python and Power BI developer. I built Data Mechanics because good decisions start with facts. Public data is often scattered, hard to find or locked behind paywalls, and too much of what we read about the world is biased. Here, every number is shown as it was published, next to its source, so anyone can check it, compare countries and leaders, and draw their own conclusions.