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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
rajnishs
New Member

how to use SELECCOLOUM for decimal number

Hello All,

I am new to power BI dekstop.

 

I am working on small project to create the bell curve for the some values which range between 0.5 to 0.85. 

To draw the bell curve I am using below DAX formula in between the steps. I have already drawn the bell curve for some integer values using the same formula but not for decimal values.

 

Thick A2 normal distriution =
var ThickA2_minvalue=FLOOR([Thickness A2 x-3sig],0.001)
var ThickA2_maxvalue=CEILING([Thickness A2 x+3sig],0.001)
return SELECTCOLUMNS(CALENDAR(ThickA2_minvalue,ThickA2_maxvalue),"Thickness",INT([Date]))
 
Here I am not getting the desired output. coloum is generated but the values are not comming. it is expected to give all the values between FLOOR([Thickness A2 x-3sig],0.001)  to CEILING([Thickness A2 x+3sig],0.001). 
Below is the screenshot of output.
rajnishs_0-1681921983019.png

 

Kinldy help. 

 

Regards 

1 REPLY 1
Anonymous
Not applicable

Hi @rajnishs ,

Not sure, consider whether [Thickness A2 x-3sig] and [Thickness A2 x+3sig] in the formula are null/both 0 before returning the result to ensure that the formula runs normally.

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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