Card 1 of 7. Have you often been told that ALL() removes filters? Let’s take a closer look.
Card 1 of 7
Have you often been told that ALL() removes filters?
Let’s take a closer look.
The way we wish it had been explained to us when we started. An example first, plain words, and numbers you check for yourself.
In a visual by “Month,” sorted by “Month Sort,” Power BI adds the sort column to the calculation, without showing it. So the Jan’24 row carries two filters, “Month” and “Month Sort.”
With ALL( Calendar[Month] ), CALCULATE replaces only the filter on “Month.” The one on “Month Sort” remains, and each month weighs 100%. Name the sort column along with its format:
Jan’24 then weighs 14.7%, Mar’24 8.8%, and the “Total” row 100%.
Each part of the course starts from a frustration we have seen in learners. Our answer is an approach you won’t find anywhere else.
Card 1 of 7. Have you often been told that ALL() removes filters? Let’s take a closer look.
Card 1 of 7
Let’s take a closer look.
On the board, functions work right before your eyes. Each animation shows the rows a function reads, the table it builds and the result it returns, one step at a time.
A voice walks you through each step. You go at your own pace, step back, replay a passage.
Like an animation? Add it to your favorites. It waits for you in your notebook, under “My animations,” ready to watch again.
The lessons hold 85 animations on the board and 19 walkthroughs that reproduce Power BI, Power Query or Excel, click by click.
Fetching a value with RELATED
Move your mouse over part of the formula. A window instantly gives you its result, calculated on the course tables. You no longer have to guess what each function does, you see it.
Try it on this formula, it’s live. On a phone, tap it.
Try it!
Hover over COUNTROWS and FILTER to see what each part of this formula produces
FILTER keeps only the sedan sales, then COUNTROWS counts them.
The monthly running total that starts again from zero each year
Being able to write a short formula is a good start. Being able to build a long one makes you independent. In DAX Cases, you watch complex formulas being built, line by line.
DAX Cases holds 40 cases explained on the board and 143 traps explained.
Each case dissects its formula, piece by piece. You see what each piece produces, before the next one puts it to use.
Click a line on the board
During a lesson, select a passage and add it to “My notebook.” You write your comment there, and a link takes you back to the part it comes from.
The “Favorite” button keeps a section, the star keeps an animation. Everything goes into the same notebook, and a single search looks through your notes, your comments and your favorites.
My notebook
A measure returns a single value.
CALCULATE starts with its second argument
Data stored in tables
It shows how the data is stored, before you write your first formula.