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.
Someone know if ERF function is available in DAX, and in negative case, how to work around with that?
Solved! Go to Solution.
@Anonymous
The ERF function is not available in DAX right now, but you can use NORM.DIST to produce the same result as ERF.
This is possible since ERF(x) is the probability a normal random variable with mean 0 & variance 0.5 is between -x and +x.
A measure like the one below should give the same result as ERF in Excel (when passed a single argument), with <argument> being a measure or other scalar expression to be passed to the "ERF" function:
ERF = 2 * ( NORM.DIST( <argument>, 0, SQRT(0.5), TRUE() ) - 0.5 )
Regards,
Owen
@Anonymous
The ERF function is not available in DAX right now, but you can use NORM.DIST to produce the same result as ERF.
This is possible since ERF(x) is the probability a normal random variable with mean 0 & variance 0.5 is between -x and +x.
A measure like the one below should give the same result as ERF in Excel (when passed a single argument), with <argument> being a measure or other scalar expression to be passed to the "ERF" function:
ERF = 2 * ( NORM.DIST( <argument>, 0, SQRT(0.5), TRUE() ) - 0.5 )
Regards,
Owen
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 |
---|---|
114 | |
97 | |
86 | |
70 | |
62 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |