Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi together,
I'm struggeling since a while with a simple graph in Power BI; I would like to scatter around 5.000 values over the year, the X-Axis value is the month, so I do have each month around 420 values, which I'd like to scatter so there not in one line and better clickable.
In Excel I do with the scatter graph (Screenshoot 1). In power BI I'm not capable of.
Does anyone of you had the same issue, or any experience solving that?
That would be great. 🙂
Pete
Solved! Go to Solution.
Hi @lbendlin,
thanks for your solution, it works great. Now I would like to Add a column "scattered month" to my Date table in order to do all my calculations on the same basis. Unfornatly the new column I made does not give the scattered random numbers, do you perhaps know why?
Best regards
Pete
You need to do that in Power Query, not in DAX.
Hi @lbendlin,
ok I recreated a date table in PQ now, and added a scatter month column, the table has a date and a scatter month column:
in my data model the date columns of other tables are connected with this date table of PQ now.
When I build a visual now with the scatter column on the X-achsis it works perfectly, like in the Screenshot:
until I add the data i would like to show in the Y-achsis, now evertyhing is line again:
but still on random numbers, so the 12 is 12,4 for instance, but everything is on line.
The data im showin is a messure which takes data from the tables which are connected to the date table I mentioned above.
Do you have any advice why this is happening and the visual data is not scattered?
Best regards and thanks for your help.
Pete
Keine Ahnung. Please provide the sample data.
Usually you do that by adding a random value (let's say from -10 to +10) to the X value.
NOTE: Power BI will NOT let you render 5000 data points. It will force group your values.
If you want more help please provide sanitized sample data that fully covers your issue.
Hi Ibendlin;
thanks for your answer!
So when I alter the X Values for the date, I always have to do that by hand right? my data is always growing and Im looking a way to do it automaticaly like in the excel example.
At the moment Im at arround 250 to 300 values a month, so 5000 a year still fits me. in one year I gotta figure out a solution to that.
Do you know whether there is a good way not to alter the x achsis data by hand?
Thank you and regards
Pete
If you want more help please provide sanitized sample data that fully covers your issue.
Hi Ibendin,
Im not sure how to insert a table properly, so I post it here, the outcome is like that, unscattered:
Name | Value | Month |
B | 15,4 | 01.01.2022 |
C | 15,8 | 01.01.2022 |
D | 13,0 | 01.01.2022 |
E | 13,0 | 01.01.2022 |
F | 12,4 | 01.01.2022 |
G | 11,3 | 01.01.2022 |
H | 9,1 | 01.01.2022 |
I | 12,0 | 01.01.2022 |
J | 12,0 | 01.01.2022 |
K | 16,0 | 01.01.2022 |
L | 10,6 | 01.01.2022 |
M | 10,6 | 01.01.2022 |
N | 12,3 | 01.01.2022 |
O | 12,3 | 01.01.2022 |
P | 13,0 | 01.01.2022 |
Q | 13,0 | 01.01.2022 |
R | 13,0 | 01.01.2022 |
S | 13,0 | 01.01.2022 |
T | 13,0 | 01.01.2022 |
U | 13,0 | 01.01.2022 |
V | 13,0 | 01.01.2022 |
W | 13,0 | 01.01.2022 |
X | 13,2 | 01.01.2022 |
Y | 13,2 | 01.01.2022 |
Z | 13,2 | 01.01.2022 |
B | 40,4 | 01.02.2022 |
C | 52,6 | 01.02.2022 |
D | 50,6 | 01.02.2022 |
E | 50,6 | 01.02.2022 |
F | 28,3 | 01.02.2022 |
G | 31,3 | 01.02.2022 |
H | 30,8 | 01.02.2022 |
I | 22,2 | 01.02.2022 |
J | 22,2 | 01.02.2022 |
K | 34,3 | 01.02.2022 |
L | 32,8 | 01.02.2022 |
M | 32,8 | 01.02.2022 |
N | 30,4 | 01.02.2022 |
O | 30,4 | 01.02.2022 |
P | 47,3 | 01.02.2022 |
Q | 47,3 | 01.02.2022 |
R | 47,3 | 01.02.2022 |
S | 47,3 | 01.02.2022 |
T | 47,3 | 01.02.2022 |
U | 47,3 | 01.02.2022 |
V | 47,3 | 01.02.2022 |
W | 47,3 | 01.02.2022 |
X | 44,8 | 01.02.2022 |
Y | 44,8 | 01.02.2022 |
Z | 44,8 | 01.02.2022 |
B | 104,4 | 01.03.2022 |
C | 130,0 | 01.03.2022 |
D | 127,3 | 01.03.2022 |
E | 127,3 | 01.03.2022 |
F | 88,6 | 01.03.2022 |
G | 86,0 | 01.03.2022 |
H | 87,6 | 01.03.2022 |
I | 92,0 | 01.03.2022 |
J | 92,0 | 01.03.2022 |
K | 91,3 | 01.03.2022 |
L | 94,8 | 01.03.2022 |
M | 94,8 | 01.03.2022 |
N | 87,5 | 01.03.2022 |
O | 87,5 | 01.03.2022 |
P | 117,8 | 01.03.2022 |
Q | 117,8 | 01.03.2022 |
R | 117,8 | 01.03.2022 |
S | 117,8 | 01.03.2022 |
T | 117,8 | 01.03.2022 |
U | 117,8 | 01.03.2022 |
V | 117,8 | 01.03.2022 |
W | 117,8 | 01.03.2022 |
X | 117,7 | 01.03.2022 |
Y | 117,7 | 01.03.2022 |
Z | 117,7 | 01.03.2022 |
B | 116,3 | 01.04.2022 |
C | 119,8 | 01.04.2022 |
D | 118,2 | 01.04.2022 |
E | 118,2 | 01.04.2022 |
F | 124,2 | 01.04.2022 |
G | 88,5 | 01.04.2022 |
H | 91,8 | 01.04.2022 |
I | 101,2 | 01.04.2022 |
J | 101,2 | 01.04.2022 |
K | 88,8 | 01.04.2022 |
L | 108,2 | 01.04.2022 |
M | 108,2 | 01.04.2022 |
N | 85,7 | 01.04.2022 |
O | 85,7 | 01.04.2022 |
P | 109,3 | 01.04.2022 |
Q | 109,3 | 01.04.2022 |
R | 109,3 | 01.04.2022 |
S | 109,3 | 01.04.2022 |
T | 109,3 | 01.04.2022 |
U | 109,3 | 01.04.2022 |
V | 109,3 | 01.04.2022 |
W | 109,3 | 01.04.2022 |
X | 107,5 | 01.04.2022 |
Y | 107,5 | 01.04.2022 |
Z | 107,5 | 01.04.2022 |
B | 154,8 | 01.05.2022 |
C | 166,4 | 01.05.2022 |
D | 164,0 | 01.05.2022 |
E | 164,0 | 01.05.2022 |
F | 138,7 | 01.05.2022 |
G | 147,6 | 01.05.2022 |
H | 144,6 | 01.05.2022 |
I | 139,2 | 01.05.2022 |
J | 139,2 | 01.05.2022 |
K | 142,7 | 01.05.2022 |
L | 155,7 | 01.05.2022 |
M | 155,7 | 01.05.2022 |
N | 141,3 | 01.05.2022 |
O | 141,3 | 01.05.2022 |
P | 136,3 | 01.05.2022 |
Q | 136,3 | 01.05.2022 |
R | 136,3 | 01.05.2022 |
S | 136,3 | 01.05.2022 |
T | 136,3 | 01.05.2022 |
U | 136,3 | 01.05.2022 |
V | 136,3 | 01.05.2022 |
W | 136,3 | 01.05.2022 |
X | 135,2 | 01.05.2022 |
Y | 135,2 | 01.05.2022 |
Z | 135,2 | 01.05.2022 |
B | 162,2 | 01.06.2022 |
C | 156,4 | 01.06.2022 |
D | 151,8 | 01.06.2022 |
E | 151,8 | 01.06.2022 |
F | 153,0 | 01.06.2022 |
G | 155,0 | 01.06.2022 |
H | 138,6 | 01.06.2022 |
I | 153,6 | 01.06.2022 |
J | 153,6 | 01.06.2022 |
K | 156,1 | 01.06.2022 |
L | 163,5 | 01.06.2022 |
M | 163,5 | 01.06.2022 |
N | 158,9 | 01.06.2022 |
O | 158,9 | 01.06.2022 |
P | 145,8 | 01.06.2022 |
Q | 145,8 | 01.06.2022 |
R | 145,8 | 01.06.2022 |
S | 145,8 | 01.06.2022 |
T | 145,8 | 01.06.2022 |
U | 145,8 | 01.06.2022 |
V | 145,8 | 01.06.2022 |
W | 145,8 | 01.06.2022 |
X | 124,7 | 01.06.2022 |
Y | 124,7 | 01.06.2022 |
Z | 124,7 | 01.06.2022 |
B | 142,5 | 01.07.2022 |
C | 145,3 | 01.07.2022 |
D | 143,0 | 01.07.2022 |
E | 143,0 | 01.07.2022 |
F | 148,4 | 01.07.2022 |
G | 138,7 | 01.07.2022 |
H | 129,8 | 01.07.2022 |
I | 145,4 | 01.07.2022 |
J | 145,4 | 01.07.2022 |
K | 104,7 | 01.07.2022 |
L | 145,5 | 01.07.2022 |
M | 145,5 | 01.07.2022 |
N | 115,2 | 01.07.2022 |
O | 115,2 | 01.07.2022 |
P | 149,2 | 01.07.2022 |
Q | 149,2 | 01.07.2022 |
R | 149,2 | 01.07.2022 |
S | 149,2 | 01.07.2022 |
T | 149,2 | 01.07.2022 |
U | 149,2 | 01.07.2022 |
V | 149,2 | 01.07.2022 |
W | 149,2 | 01.07.2022 |
X | 148,2 | 01.07.2022 |
Y | 148,2 | 01.07.2022 |
Z | 148,2 | 01.07.2022 |
B | 130,0 | 01.08.2022 |
C | 139,7 | 01.08.2022 |
D | 134,8 | 01.08.2022 |
E | 134,8 | 01.08.2022 |
F | 123,1 | 01.08.2022 |
G | 128,7 | 01.08.2022 |
H | 122,8 | 01.08.2022 |
I | 124,3 | 01.08.2022 |
J | 124,3 | 01.08.2022 |
K | 112,6 | 01.08.2022 |
L | 140,6 | 01.08.2022 |
M | 140,6 | 01.08.2022 |
N | 120,6 | 01.08.2022 |
O | 120,6 | 01.08.2022 |
P | 137,1 | 01.08.2022 |
Q | 137,1 | 01.08.2022 |
R | 137,1 | 01.08.2022 |
S | 137,1 | 01.08.2022 |
T | 137,1 | 01.08.2022 |
U | 137,1 | 01.08.2022 |
V | 137,1 | 01.08.2022 |
W | 137,1 | 01.08.2022 |
X | 131,2 | 01.08.2022 |
Y | 131,2 | 01.08.2022 |
Z | 131,2 | 01.08.2022 |
B | 0 | 01.09.2022 |
C | 0 | 01.09.2022 |
D | 0 | 01.09.2022 |
E | 0 | 01.09.2022 |
F | 0 | 01.09.2022 |
G | 0 | 01.09.2022 |
H | 0 | 01.09.2022 |
I | 0 | 01.09.2022 |
J | 0 | 01.09.2022 |
K | 0 | 01.09.2022 |
L | 0 | 01.09.2022 |
M | 0 | 01.09.2022 |
N | 0 | 01.09.2022 |
O | 0 | 01.09.2022 |
P | 0 | 01.09.2022 |
Q | 0 | 01.09.2022 |
R | 0 | 01.09.2022 |
S | 0 | 01.09.2022 |
T | 0 | 01.09.2022 |
U | 0 | 01.09.2022 |
V | 0 | 01.09.2022 |
W | 0 | 01.09.2022 |
X | 0 | 01.09.2022 |
Y | 0 | 01.09.2022 |
Z | 0 | 01.09.2022 |
B | 0 | 01.10.2022 |
C | 0 | 01.10.2022 |
D | 0 | 01.10.2022 |
E | 0 | 01.10.2022 |
F | 0 | 01.10.2022 |
G | 0 | 01.10.2022 |
H | 0 | 01.10.2022 |
I | 0 | 01.10.2022 |
J | 0 | 01.10.2022 |
K | 0 | 01.10.2022 |
L | 0 | 01.10.2022 |
M | 0 | 01.10.2022 |
N | 0 | 01.10.2022 |
O | 0 | 01.10.2022 |
P | 0 | 01.10.2022 |
Q | 0 | 01.10.2022 |
R | 0 | 01.10.2022 |
S | 0 | 01.10.2022 |
T | 0 | 01.10.2022 |
U | 0 | 01.10.2022 |
V | 0 | 01.10.2022 |
W | 0 | 01.10.2022 |
X | 0 | 01.10.2022 |
Y | 0 | 01.10.2022 |
Z | 0 | 01.10.2022 |
B | 0 | 01.11.2022 |
C | 0 | 01.11.2022 |
D | 0 | 01.11.2022 |
E | 0 | 01.11.2022 |
F | 0 | 01.11.2022 |
G | 0 | 01.11.2022 |
H | 0 | 01.11.2022 |
I | 0 | 01.11.2022 |
J | 0 | 01.11.2022 |
K | 0 | 01.11.2022 |
L | 0 | 01.11.2022 |
M | 0 | 01.11.2022 |
N | 0 | 01.11.2022 |
O | 0 | 01.11.2022 |
P | 0 | 01.11.2022 |
Q | 0 | 01.11.2022 |
R | 0 | 01.11.2022 |
S | 0 | 01.11.2022 |
T | 0 | 01.11.2022 |
U | 0 | 01.11.2022 |
V | 0 | 01.11.2022 |
W | 0 | 01.11.2022 |
X | 0 | 01.11.2022 |
Y | 0 | 01.11.2022 |
Z | 0 | 01.11.2022 |
B | 0 | 01.12.2022 |
C | 0 | 01.12.2022 |
D | 0 | 01.12.2022 |
E | 0 | 01.12.2022 |
F | 0 | 01.12.2022 |
G | 0 | 01.12.2022 |
H | 0 | 01.12.2022 |
I | 0 | 01.12.2022 |
J | 0 | 01.12.2022 |
K | 0 | 01.12.2022 |
L | 0 | 01.12.2022 |
M | 0 | 01.12.2022 |
N | 0 | 01.12.2022 |
O | 0 | 01.12.2022 |
P | 0 | 01.12.2022 |
Q | 0 | 01.12.2022 |
R | 0 | 01.12.2022 |
S | 0 | 01.12.2022 |
T | 0 | 01.12.2022 |
U | 0 | 01.12.2022 |
V | 0 | 01.12.2022 |
W | 0 | 01.12.2022 |
X | 0 | 01.12.2022 |
Y | 0 | 01.12.2022 |
Z | 0 | 01.12.2022 |
Thanks for your time and regards
Thats perfect! Ok you do it in power querry date +-0,4; the last bit Im looking for now is to see every moth on the x-achsis and not every 2nd, idealy in a written form.
In Excel I can choose the frequency here in power bi I cant find a option for that.
I don't think you can do that with the standard scatter plot visual. You would need a custom visual for that.
User | Count |
---|---|
102 | |
91 | |
87 | |
79 | |
71 |
User | Count |
---|---|
113 | |
105 | |
101 | |
73 | |
65 |