Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don'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.

Reply
gvg
Post Prodigy
Post Prodigy

True/false expression does not specify a column

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.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

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

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

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.

gvg
Post Prodigy
Post Prodigy

@Anonymous  Sorry, you are right, I misplaced one parenthesis. But I still  do not get the expected result.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.