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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
mgreezrhythmtx
Frequent Visitor

Box and Whisker - mean not including zeros

Hello,

 

I'm using Box and Whisker by MAQ... the visual works and looks great with one exception.  The mean is not including the records with zeros. 

 

Is there a solution for this? @MAQ 

1 REPLY 1
v-tangjie-msft
Community Support
Community Support

Hi @mgreezrhythmtx ,

 

According to the user guide of Box and Whisker by MAQ Software, the mean value is calculated by dividing the sum of all values by the number of values. If your data contains zeros, they will be included in the calculation of the mean. However, if your data contains blanks or nulls, they will be ignored in the calculation of the mean.

If you want to show the mean value including the blanks or nulls, you can try to replace them with zeros before using the visual. You can do this by creating a new measure that uses the ISBLANK function to check for blanks or nulls and replace them with zeros. For example:

 

Value with zero = IF ( ISBLANK ( [Value] ), 0, [Value] )

Then you can use this measure as the Value field in the visual instead of the original one.

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors