Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Im getting the error like "The True/False expression does not specify a column. Each True/False expressions used as a table filter expression must refer to exactly one column." when trying to write a dax expression
Var A = SUMMARIZE(Test','Test'[Delivery],"val",
CALCULATE(MIN([LT (CRAD to Delivery Date)]),ALLEXCEPT('Test','Test'[Delivery]),'Test'[Item Category]<>"TAPA",'Test','Test'[BOL]=1))
RETURN MINX(A,[val])
Here [BOL] is a measure and remaining are columns in Test table.
TIA
Solved! Go to Solution.
Hi,
As the error states when using a table filter expression you need to refer to columns. Since [Bol] is a measure this error happens. Try adding the logic in Bol to a column e.g. with ADDCOLUMNS in the measure.
I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!
My LinkedIn: https://www.linkedin.com/in/n%C3%A4ttiahov-00001/
Proud to be a Super User!
Hi @Sri57 ,
According to your description, here are my steps you can follow as a solution.
(1) We can create a measure.
Measure 2 =
VAR A =
SUMMARIZE (
'Test',
'Test'[Delivery],
"val",
CALCULATE (
MIN ( 'LT'[CRAD to Delivery Date] ),
FILTER (
ALLEXCEPT ( 'Test', 'Test'[Delivery] ),
'Test'[Item Category] <> "TAPA"
&& [BOL] = 1
)
)
)
RETURN
MINX ( A, [val] )
(2) Then the result is as follows.
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Sri57 ,
According to your description, here are my steps you can follow as a solution.
(1) We can create a measure.
Measure 2 =
VAR A =
SUMMARIZE (
'Test',
'Test'[Delivery],
"val",
CALCULATE (
MIN ( 'LT'[CRAD to Delivery Date] ),
FILTER (
ALLEXCEPT ( 'Test', 'Test'[Delivery] ),
'Test'[Item Category] <> "TAPA"
&& [BOL] = 1
)
)
)
RETURN
MINX ( A, [val] )
(2) Then the result is as follows.
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
As the error states when using a table filter expression you need to refer to columns. Since [Bol] is a measure this error happens. Try adding the logic in Bol to a column e.g. with ADDCOLUMNS in the measure.
I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!
My LinkedIn: https://www.linkedin.com/in/n%C3%A4ttiahov-00001/
Proud to be a Super User!
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |