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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Madsboegh
Advocate I
Advocate I

Cumulative Normal Distribution (CDF) Function for black-scholes

Hi everyone,

 

So I'm building a financial model in which I need a way to engineer a function similar to the Norm.Dist from excel. Currently I had a sql whizz of a colleague produce a very close estimater in a SQL query which feeds the CDF output to the model, however I would like if this could be done in M, DAX or worst case R (the latter is doable I think, but sticking to the first two would be ideal, since we're putting this in production)? It is used for the delta of a black-schole option pricing.

 

Anyone had success on this? The data set is big (+10m rows) if that changes anything

 

Thanks!

 

Mads

4 REPLIES 4
tschris
Regular Visitor

I do not know if what you are looking for is something like creating dynamic cumulative function to plot e.g., sales or uantity over time. If so I have placed an example PBIX file based on a dummy dataset here, I hope it helps.

v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @Madsboegh,

 

Based on my research, I found an article about how to create a Dynamic BI Distribution Chart in PowerPivot using DAX.

 

And according to this article, there is an custom visual called Percentile Chart, or Cumulative Distribution Function (CDF) on Power BI Visual Gallery, is commonly used as a way to visualize the distribution of values in a dataset.

 

Could you go to check if it helps.Smiley Happy

 

In addition, here is similar idea on Power BI Ideas about being able to run an analysis using normal distribution (bell curve) graphical representation. You can vote it up and add your comments there to improve Power BI on this feature.Smiley Happy

 

Regards

Is there a way to add legends to percentile chart. Or is there a way to compare percentile chart for different catagories.

Hi @v-ljerr-msft,


Thanks for the reply, let me try and see if that helps. Will revert back to you

 

best,
Mads

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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