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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

The expression refers to multiple columns. Multiple columns cannot be converted to a scalar value.

hiii

i was using this formula to calculate waiting tym < 60 sec but its displaying an error

 

image.png

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@greeshma, if you try to create a column

then try to

flag: if([timeout] <time(0,1,0),1,0)

if measured then

measure- calculate(Sum(Table[wait time),filter(Table, Table[wait time] <time(0,1,0)))

View solution in original post

2 REPLIES 2
v-kelly-msft
Community Support
Community Support

Hi @Anonymous ,

 

If it is a measure ,modify it as below:

 

wait tym<60=Calculate(max('Phone Call Data'[waiting tym]),FILTER('Phone Call Data','Phone Call Data'[waiting tym]<TIME(0,0,60)))

 

 If it is a column,use below expression:

 

wait tym<60=IF('Phone Call Data'[waiting tym]<TIME(0,0,60),'Phone Call Data'[waiting tym],BLANK())

 

 

Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
amitchandak
Super User
Super User

@greeshma, if you try to create a column

then try to

flag: if([timeout] <time(0,1,0),1,0)

if measured then

measure- calculate(Sum(Table[wait time),filter(Table, Table[wait time] <time(0,1,0)))

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.