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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
Can any one help me on this issue i am creating a column to write the expression. i am getting the below error.
DAX comparison operations do not support comparing values of type Text with values of type Integer. Consider using the VALUE or FORMAT function to convert one of the values.
Below is my expression
If(glidepath[Test_Pack]=0,VALUE(glidepath[R_Sprint_name] & " " & glidepath[test_cycle_type]),glidepath[Test_Pack])
Hi @kishoresakamuri,
It seems that [Test_Pack], [R_Sprint_name], and [test_cycle_type] are Text data type. If that is a case, you need to modify the expression like below:
If(VALUE(glidepath[Test_Pack])=0, glidepath[R_Sprint_name] & " " & glidepath[test_cycle_type]),glidepath[Test_Pack])
Reference:
VALUE Function (DAX)
Best Regards,
Qiuyun Yu
HI
I am getting the below error when i add value function. Below is the error details.
Error Message:
The following exception occurred while the managed IDataReader interface was being used: Error converting data type varchar to float..
Stack Trace:
Invocation Stack Trace:
Activity ID
7889a925-043c-42eb-9af8-582d3cee423e
Time
Mon Jan 02 2017 11:51:10 GMT+0530 (India Standard Time)
Version
2.37.4464.602 (PBIDesktop)
Error Code
rsDataShapeProcessingError
OData Error Message
Failed to execute the query.
Hi @kishoresakamuri,
Please try to use this expression:
If(glidepath[Test_Pack]=BLANK(), glidepath[R_Sprint_name] & " " & glidepath[test_cycle_type],glidepath[Test_Pack])
If issue persists, please share some sample for our analysis.
Best Regards,
Qiuyun Yu
check the data type of the fileds that ur using in the formula, I think your comparing text value with the integer.
If you want to compare text values with the interger, you need to use type conversion functions.
Thanks,
Harsha.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!