Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi All,
I am trying to use CalculateTable DAX but getting following error
"The expression refers to multiple columns. Multiple columns cannot be converted to a scalar value."
Can Anyone tell me where I am doing wrong.
Thanks...
Solved! Go to Solution.
Hi @community_pinki ,
According to your description,
1. If you want to filter a table by a measure,you may try:
Measure = IF(MAX('Table'[Column]) <= 73, 1,0)
And then apply it to visual-level filter ,set as "is 1" as shown below:
2. If you want to return a calculated table, you could try:
New table = FILTER('Table',[Column]<=73)
3. Just use visual-level filter——is less than or equal to:
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @community_pinki ,
According to your description,
1. If you want to filter a table by a measure,you may try:
Measure = IF(MAX('Table'[Column]) <= 73, 1,0)
And then apply it to visual-level filter ,set as "is 1" as shown below:
2. If you want to return a calculated table, you could try:
New table = FILTER('Table',[Column]<=73)
3. Just use visual-level filter——is less than or equal to:
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@community_pinki , Create a new table not measure. Calculatetable returns a table
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 |
|---|---|
| 46 | |
| 43 | |
| 39 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 68 | |
| 68 | |
| 31 | |
| 27 | |
| 24 |