How many ways there are to create a Year-Month column in DAX? In this blog post, I’ll show you one bad way, one OK way, one good, and one great way. Continue reading “Power BI Antipatterns #4: YEAR + MONTH”
Category: Power BI
Power BI Antipatterns #3: Table functions
Do you think Microsoft’s own files always follow best practices? Think again! In this episode, I’m dissecting a calculated table DAX formula from a system file generated automatically in Power BI service. Continue reading “Power BI Antipatterns #3: Table functions”
Power BI Antipatterns #2: SELECTEDVALUE
The pilot issue of the Power BI Antipatterns series received good feedback, and I’m back with the second blog post in the series, in which I’m going to discuss the SELECTEDVALUE function. Continue reading “Power BI Antipatterns #2: SELECTEDVALUE”
Power BI Antipatterns #1: SWITCH(TRUE… in DAX (The Pilot)
Welcome to Power BI Antipatterns, my new blog post series! Over the past few years, as I’ve been working as an independent consultant, I’ve seen many examples of practices in Power BI that were less than optimal. In other words, they weren’t best practices. What’s curious is that sometimes very different people wrote code in the same (bad) way. So I thought I’d like to dissect some of the antipatterns, and I’m starting with the misuse of the SWITCH function in DAX.
Continue reading “Power BI Antipatterns #1: SWITCH(TRUE… in DAX (The Pilot)”
Microsoft Exam Ref DA-100 is now available!
Almost three years ago, my first book, Exam Ref 70-778, was published. Microsoft Exam 70-778 is now phased out, and Microsoft Exam DA-100 replaced it. The new official Power BI exam reference book, Exam Ref DA-100, is now available through Microsoft Press Store, Amazon, and other places! Continue reading “Microsoft Exam Ref DA-100 is now available!”
Built-in column sort order in Power BI
The sort by column feature of Power BI hides some potentially unwanted complexities. This blog post shows how you can avoid having to sort a column by another column while maintaining a custom sort order. Continue reading “Built-in column sort order in Power BI”
Single-letter day and month names in Power BI
Occasionally in Power BI, you may want to display day or month names as single letters to save space. This may result in duplicates because neither day nor month names are unique when you shorten them to one letter. In this blog post, I’m showing two solutions to the problem: one in DAX and one in Power Query (M language). Continue reading “Single-letter day and month names in Power BI”
Card drill through in Power BI
Drill through from cards is a common requirement in Power BI reports. While measure drill through has been possible for a while now, drill through from cards has been tricky until recently. In this blog post, I’m showing two ways to configure the card drill through. Continue reading “Card drill through in Power BI”
I’m now a Microsoft MVP!
I’m now officially a Microsoft Most Valuable Professional (MVP)! Becoming an MVP wasn’t a straight path for me: I became an MVP on the second try. Continue reading “I’m now a Microsoft MVP!”
Grouping text values in Power BI
The August 2020 release of Power BI Desktop includes a new Power Query function: Table.AddFuzzyClusterColumn
. This function allows you to clean, cluster, or group text values. In this blog post I’m showing an example of how it works. Continue reading “Grouping text values in Power BI”