Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
(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 |
---|---|
25 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
30 | |
13 | |
11 | |
9 | |
6 |