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
dkel6177
Regular Visitor

Standard Deviation DAX returning zeros

I have table that provides a count of reports by a particular offense group;

 

 

My DAX is set to:

 

STDdev = STDEVX.P(ucr2st, 'Master KPI'[Report Count]) 

 

see below.... I keep getting zeros. What am I doing wrong....lol

 

Screen Shot 2016-11-28 at 3.54.36 PM.png

4 REPLIES 4
BhaveshPatel
Community Champion
Community Champion

You should create is as measure instead of calculated column.

Thanks & Regards,
Bhavesh

Love the Self Service BI.
Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to give Kudos.

I have, but i just put it in a column to see the result instead of a visual. Either way does not work. I just get zeros. I need a standard dev at the group level shown above. 

Were you ever able to solve this problem? I'm gettin the same issue. 

samdthompson
Memorable Member
Memorable Member

Hi, the formula at first glance looks fine. The things that could be going wrong it how it is seeing the data in report count field. Is this a blank()? STDEVX.P() is meant to ignore it if thats the case (or if 0) but i have had problems with it in the past. To fix it I found that a filter on data to ignore the blank's or 0's worked weel for me. Are you able to share a PBIX?

// if this is a solution please mark as such. Kudos always appreciated.

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.