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
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
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.

Top Solution Authors