Skip to content

Commit

Permalink
fix bad examples in kb articles (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
otykier authored Mar 3, 2025
1 parent aa5fbc0 commit a3c5c50
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kb/DI005.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ CALCULATE([Total Sales], FILTER(ALL(Products), Products[Color] = "Red"))
```
To:
```dax
CALCULATE([Total Sales], Products[Color] = "Red")
CALCULATE([Total Sales], ALL(Products), Products[Color] = "Red")
```

## Example 3
Expand All @@ -52,6 +52,7 @@ To:
```dax
CALCULATE(
[Total Sales],
ALL(Products),
Products[Color] = "Red",
Products[Class] = "High-end"
)
Expand Down

0 comments on commit a3c5c50

Please sign in to comment.