Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I am looking for the answers for this : Mdxscript(Model) (264,25) calculatiuon error in measure 'xyz'[outflow]:Function 'CONTAINSROW' doesnot support comparing values of type text with the values of type number.consider using the value or Format function to convert one of the values.
Solved! Go to Solution.
Please try this
Total = CALCULATE(ROUND(SUM('Table'[A]) + SUM('Table'[B]) + SUM('Table'[C])+ SUM('Table'[D]) + SUM('Table'[E]), 0))
I'm not sure how your data is structured, but you van do this Power Query too if you chaning the table format isn't an issue.
Proud to be a Super User! | |
Date tables help! Learn more
Thank you for the suggested solution .It worked partially .The main problem is it has some blank values which are not well treated .After replacing blank with zero it worked.
Hi @Anonymous
It seems you are trying to compare two columns that have differnt formatting. This could be a number column being compared to what looks like a number column but is formatted as text. Check both columns to see if they are formatted as numbers
Hope this helps
Joe
Proud to be a Super User! | |
Date tables help! Learn more
Thank you Joe for the response.I checked both the columns are in Decimal Format.
Can you share the measure that you trying to implement and a screenshot of the column headers in Power Query ? Hopefully then I can help further
Proud to be a Super User! | |
Date tables help! Learn more
the measure i used is :
Please try this
Total = CALCULATE(ROUND(SUM('Table'[A]) + SUM('Table'[B]) + SUM('Table'[C])+ SUM('Table'[D]) + SUM('Table'[E]), 0))
I'm not sure how your data is structured, but you van do this Power Query too if you chaning the table format isn't an issue.
Proud to be a Super User! | |
Date tables help! Learn more
Thank you for the suggested solution .It worked partially .The main problem is it has some blank values which are not well treated .After replacing blank with zero it worked.