Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Anonymous
Not applicable

Norm.Dist

Hello

 

I am really struggling, I cannot configure the Norm.Dist to work - I think it is to do with the X value as I keep getting the error 

 

The expression refers to multiple columns. Multiple columns cannot be converted to a scalar value.

 

I am using this formula below, sample data is just a small sample
 
TEST = ADDCOLUMNS('Sample Data', "Normal Distr", NORM.DIST([Value],'Sample Data'[Mean], 'Sample Data'[StandardDev], TRUE))
 
Any help would be really appreciated 
 
Thanks
2 REPLIES 2
lbendlin
Super User
Super User

TEST returns a table. What are you doing with that ?

 

Please provide sanitized sample data that fully covers your issue. Paste the data into a table in your post or use one of the file services. Please show the expected outcome.

Anonymous
Not applicable

Hello

 

I am trying to build a table to visualise a normal distributon curve so I can calculate % probablity . I have a smaple of 30 data points in a table & column called Chol[Chol] and created measures for the average

MEAN2 = CALCULATE(AVERAGE(CHOL[CHOL]),ALLSELECTED())
and Std dev
STDDEV2 = CALCULATE(STDEVX.S(CHOL, CHOL[CHOL]),ALLSELECTED())
I then created two measures at 3 standard deviations from the mean 
-3Sigma = [MEAN2] - (3 * [STDDEV2])
+3Sigma = [MEAN2] + (3 * [STDDEV2])
 
I then produced a new table with the range of data points  
NORMAL_DIS2 =
VAR MinValue = FLOOR([-3Sigma], 1)
VAR MaxValue = CEILING([+3Sigma],1)
RETURN
 
What I then want to do is generate the normal distribution for each of these points so I can graph the curve, but everything I try doesnt work - please help or suggest an alternate method thanks

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.