The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
(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.
User | Count |
---|---|
28 | |
12 | |
8 | |
7 | |
5 |
User | Count |
---|---|
36 | |
14 | |
12 | |
7 | |
7 |