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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Michau
Frequent Visitor

Dynamic table size for normal distribution

Hi everyone,

I have a problem in Power BI.

Introduction :
I need to make Normal Distribution / Gaussian Distribution based on a sample of data.
The problem is with a range of data.
There are many measurements in my data. For example:

Michau_0-1657873184232.png

As you can see on the picture, range for this is from 4,5 mln to 6,5 mln 

Michau_1-1657873400285.png

Different measurements need different scale
I managed to skip that dynamically adjusting x axis in the plot settings and genereting large enough X axis to be in range of all measurements:

Michau_2-1657873537635.png

for the most part the normal distribution is ready.

The Real Issue :
Sometimes measurements are not this big and so they dont even show on this plot :

Michau_3-1657873783849.png

Based on my GENERETESERIES function the X axis jump is too big for such small numbers

Does anyone know a way to dynamically adjust Table size based on select/different measures ?

3 REPLIES 3
daXtreme
Solution Sage
Solution Sage

When your measure returns BLANK for a point, the point's x-value will get hidden. Use this to your advantage. What I mean by this is that you should construct your measure in such a way that it should return BLANKS for those areas of your domain (x-values) that you don't want to show (low and high arguments). The visual will then automatically adjust itself.

Yeah i get it , thanks for the anwser but i want to show these values.
I dont wont it to be hidden. 

From what you have said before, it looks like you do want to hide the values that would make your plot too big for certain distributions... and this is about the only way to make it dynamic. Well, at least a way I'd implement 🙂

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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