From f81afb5dc95781fef7bc6fcf189aa9810af8c749 Mon Sep 17 00:00:00 2001 From: Daniel Otykier Date: Mon, 3 Mar 2025 09:30:19 +0100 Subject: [PATCH] fix bad examples in kb articles --- kb/DI005.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kb/DI005.md b/kb/DI005.md index d6d2ea07..430b83c9 100644 --- a/kb/DI005.md +++ b/kb/DI005.md @@ -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 @@ -52,6 +52,7 @@ To: ```dax CALCULATE( [Total Sales], + ALL(Products), Products[Color] = "Red", Products[Class] = "High-end" )