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.
(1) Hi Power BI folks, can you assist me in how to convert this text dataype which written in terms of day,hour,minute and second
to seconds because I cannot use the AVERAGE(V_SLA[Business elapsed time]) measure
(2) I need to convert it into whole number, find the average and then change the format back to original
(3) It returns error when I convert it to duration data type
Solved! Go to Solution.
@AnonymousHi, I am getting the following error: DAX comparison operations do not support comparing values of type integer with values of type Text. Consider using the VALUE or FORMAT function to convert one of the values
Hi @Anonymous
Create one [Days] Column =
@AnonymousHi, I am getting the following error: DAX comparison operations do not support comparing values of type integer with values of type Text. Consider using the VALUE or FORMAT function to convert one of the values
Hi @Anonymous
Pleae check your DAX.
In IF part part when condition is true you are returning interger value(Find() function returns integer position.)
In else part you are returning "0" which is string. So instead of using "0" use 0.
Thanks & regards,
Pravin Wattamwar
www.linkedin.com/in/pravin-p-wattamwar
If I resolve your problem Mark it as a solution and give kudos.
And your DAx is not identical to my dax.
Please cross check it again.
Your IF part should compare your condition with 0 not with LEFT(......).
NOTE: FIND( ) and substitute are case Sensitive.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
43 | |
23 | |
21 | |
15 | |
15 |
User | Count |
---|---|
45 | |
31 | |
30 | |
18 | |
17 |