Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi Team
I tried to Calculate a sum by using CONTAINSSTRING filter as shown below. But this code throws error. Please help.
Measure =
CALCULATE (
SUM (Table[Col1] ),
FILTER (
ALL (Table[Col2] ),
CONTAINSSTRING (Table[Col2], "abc" )
) * 200000
)
Error:
FILTER is used in TRUE/FALSE expression. This is not allowed.
Solved! Go to Solution.
What do you expect to get when you multiply a table by 200000?
Do you get the same error without that multiplier?
What do you expect to get when you multiply a table by 200000?
Do you get the same error without that multiplier?
Thanks @AlexisOlson . With your hint, I troubleshooted it. I have misplaced that multiplier. Not getting any error now.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 41 | |
| 37 | |
| 34 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 65 | |
| 59 | |
| 31 | |
| 25 | |
| 25 |