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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
community_pinki
Helper II
Helper II

Error while using CalculateTable()

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.

 

 

Capture1.PNGThanks...

1 ACCEPTED SOLUTION
Anonymous
Not applicable

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:

use measure to filter table.gif

 

2. If you want to return a calculated table, you could try:

New table = FILTER('Table',[Column]<=73)

create a new table.PNG

 

3. Just use visual-level filter——is less than or equal to:

basic filter.PNG

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.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

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:

use measure to filter table.gif

 

2. If you want to return a calculated table, you could try:

New table = FILTER('Table',[Column]<=73)

create a new table.PNG

 

3. Just use visual-level filter——is less than or equal to:

basic filter.PNG

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.

amitchandak
Super User
Super User

@community_pinki , Create a new table not measure. Calculatetable returns a table

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.