Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi folks,
I am trying to override page level filter on Product with this measure, but it complains that "true/false expression does not specify a column". What am I doing wrong here?
SumAmount8 =
CALCULATE
(
SUM
( Sales[Amount]
),
all( Sales[Product] ),
left( Sales[Product] ),1="8"
)
Thanks.
Solved! Go to Solution.
Hi @gvg,
You messed up with parenthesis here I guess:
SumAmount8 = CALCULATE(SUM(Sales[Amount]),all(Sales[Product]),left(Sales[Product],1)="8")
HTH,
Pawel
Hi @gvg,
You messed up with parenthesis here I guess:
SumAmount8 = CALCULATE(SUM(Sales[Amount]),all(Sales[Product]),left(Sales[Product],1)="8")
HTH,
Pawel
Did I? I think the parenthesis are ok. Edited measure definition in better order.
I am trying to use two filters in CALCULATE. Let's say I have Product="7" as a page filter. I need to override this filter to sum on all products that start with 8.
@Anonymous Sorry, you are right, I misplaced one parenthesis. But I still do not get the expected result.
User | Count |
---|---|
117 | |
73 | |
58 | |
49 | |
48 |
User | Count |
---|---|
171 | |
122 | |
60 | |
59 | |
56 |