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.
Only recently started getting familiar with power bi i may have made a mistake in wading out into R scripting to soon. I'm hitting a wall with best (or even working) practice when i want to create a correlation matrix.
The picture on the left is basically the scatter chart i want to evaluate
It's however made through 3 fields and a bunch of filters. Filters because i have several divisions and products i want to be able to specify on. And the fields are Weight (x-axis), efficency (measure and y-axis) and date. Date is used as the detail so it sums weight by day.
As my weight is not a sum by date column but rather many small registrations it looks like the picture on the right without date as detail. Passing the results of the right picture through corrplot in R scripting doesn't look valid.
Data involved in this with exception of filters is just Date, Weight and a measure that calculates efficency by hours spent. Weight and efficiency filtered to matching divisions by other columns. Weight and Hours are two separate tables.
Anyone with a bit more experience with me have any good ideas on how this is solvable, preferably without overcomplicating things. The best idea i've got right now is creating a new table with 1 value for both weight and timespent of each day for each division. But something in the back of my head tells me, no that's not it
Solved! Go to Solution.
So i went ahead and solved it as a new table. It's a bit cumbersome of a solution and i'd much prefer it if there was a better way of passing it directly into R formated as you have in power bi. I couldn't find one though. If you're like me and new with this and use a lot of filters like me there's either M or "in" and "Contains". It works at least.
I noticed something odd with trend lines as i was testing it. It wouldn't let me use trend lines with x and y's alone. Had to use detail field even if it did not change the scatterplot in any way.
So i went ahead and solved it as a new table. It's a bit cumbersome of a solution and i'd much prefer it if there was a better way of passing it directly into R formated as you have in power bi. I couldn't find one though. If you're like me and new with this and use a lot of filters like me there's either M or "in" and "Contains". It works at least.
I noticed something odd with trend lines as i was testing it. It wouldn't let me use trend lines with x and y's alone. Had to use detail field even if it did not change the scatterplot in any way.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
100 | |
83 | |
70 | |
61 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |