Forum Discussion
How To create Distribution Chart(Bell chart) in Power BI
- 5 years ago
Hi Anonymous
For the color legend, you could split the line into 3 lines. Create measures for 3 Risk score separately and put all of them into Values. Then format them with different colors and turn on shade area.
f(x) High = IF('Normal Distribution'[X]<FLOOR([x-2],1)||'Normal Distribution'[X]>FLOOR([x+2],1),[f(x)],BLANK())
f(x) Medium = IF(('Normal Distribution'[X]>FLOOR([x-2],1)&&'Normal Distribution'[X]<FLOOR([x-1],1))||('Normal Distribution'[X]>FLOOR([x+1],1)&&'Normal Distribution'[X]<FLOOR([x+2],1)),[f(x)],BLANK())
f(x) Low = IF('Normal Distribution'[X]>FLOOR([x-1],1)&&'Normal Distribution'[X]<FLOOR([x+1],1),[f(x)],BLANK())
For the count of Part number shown in Y axis, I don't know how to deal with it. Sorry.
Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it. - 5 years ago
Hi Anonymous
All of f(x) High / Medium / Low measures should be placed in the Line values rather than Column values. You can remove the original f(x) measure from Line values to check the result. They should connect then. Let me know if it works or not.
Regards,
Jing
- 5 years ago
Hi Anonymous
You should move them to Line values area below.
Jing
- 5 years ago
Hi Anonymous
Seems close, we need to do some formattings further.
- Under X axis, change Type from Continuous to Categorical.
- Right click on the X field in Shared axis and select Show items with no data option.
- On the chart, click ... and select Sort by X and Sort ascending.
And in the formulas, change all > and < signs to >= and <= to connect the boundry values.
Jing
Hi Ibendlin,
Thank you for quick response.
I have gone through the youtube videos and came up with below chart, but i would like to show in
Y axis as count of Part number & color legend as low, medium and high.
Kindly help me to build it as above sample chart.
For your reference :
Hi Anonymous
For the color legend, you could split the line into 3 lines. Create measures for 3 Risk score separately and put all of them into Values. Then format them with different colors and turn on shade area.
f(x) High = IF('Normal Distribution'[X]<FLOOR([x-2],1)||'Normal Distribution'[X]>FLOOR([x+2],1),[f(x)],BLANK())
f(x) Medium = IF(('Normal Distribution'[X]>FLOOR([x-2],1)&&'Normal Distribution'[X]<FLOOR([x-1],1))||('Normal Distribution'[X]>FLOOR([x+1],1)&&'Normal Distribution'[X]<FLOOR([x+2],1)),[f(x)],BLANK())
f(x) Low = IF('Normal Distribution'[X]>FLOOR([x-1],1)&&'Normal Distribution'[X]<FLOOR([x+1],1),[f(x)],BLANK())
For the count of Part number shown in Y axis, I don't know how to deal with it. Sorry.
Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.
- Anonymous5 years agoNot applicable
Hi Jing,
Thank you for your reply.
I just applied f(x) High formula, I'm getting below result.
Please do let me know if it is possible to connect.
- v-jingzhang5 years agoCommunity Support
Hi Anonymous
All of f(x) High / Medium / Low measures should be placed in the Line values rather than Column values. You can remove the original f(x) measure from Line values to check the result. They should connect then. Let me know if it works or not.
Regards,
Jing
- Anonymous5 years agoNot applicable
Hi Jing,
When i applied your formula i got this result.
- anjaliprabhakar1 year agoNew Member
Hello all,
Please help me to create Beel curve in Power BI as mentioned below in the attached screenshot for an example. The data which needs to be shown is 3 different standard deviation of the trend in 4 different ways:
These are 3 different years standard deviation data which is shown for example. I need to create something similar.
- lbendlin1 year agoSuper User
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
Please show the expected outcome based on the sample data you provided.
Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523