We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
I am trying to write a DAX statement something like :
Solved! Go to Solution.
Hi, @Anonymous
Your filter expression is incorrect. As mentioned in the error message,each true/false expression used as a table filter expression must refer to exactly one column.
You can add filter like below:
Measure = CALCULATE(SUM('table name'[column name]),('table name'[column name]) in { "C", "O"})
Best Regards,
Community Support Team _ Eason
Hi,
Try this measure
CALCULATE(SUM(table name[column name]),table name[column name]) = "C"||table name[column name]) = "O")
Hope this helps.
Hi, @Anonymous
Your filter expression is incorrect. As mentioned in the error message,each true/false expression used as a table filter expression must refer to exactly one column.
You can add filter like below:
Measure = CALCULATE(SUM('table name'[column name]),('table name'[column name]) in { "C", "O"})
Best Regards,
Community Support Team _ Eason
@Anonymous
CALCULATE(SUM(table name[column name]),(table name[column name]) = "C", "C","O")
Can you explain what is the condition here?
@Anonymous
Please refer to this post >>Solved: True/False expression doesn't specify a column - Microsoft Power BI Community
When you get this problem, you could check if your CALCULATE() formula has a direct TRUE/FALSE filter. You need use a FILTER() formula to surround the TRUE/FALSE condition.
Regards,
Ritesh
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 38 | |
| 33 | |
| 17 | |
| 17 |
| User | Count |
|---|---|
| 67 | |
| 63 | |
| 38 | |
| 34 | |
| 22 |