Forum Discussion
Custom correlations or visuals
- Anonymous9 years ago
I'm no statistician but, following the sample, I think you're right:
- Unpivot the values for each hour (i.e. highlight Name and Date, then Unpivot Other Columns),
- Rename the values columns to reflect the variable - e.g. "Number of errors", "Total proc time", "Volume of messages"; then
- Merge the three tables on Name and Date and Time Band with your three variables then on each row, unless you want to build table relationships etc..
Then add a corrplot visual via R per the sample. Note that as of yesterday's update, you can alternately add that specific corrplot as a custom "R-powered visual" via https://app.powerbi.com/visuals/ So far though, I've found no way to customise the plot with that custom visual, rather than writing it in R.
My quick test seemed to work per below screenshot, though all the zeros for Errors didn't seem to help. As I say, I'm no statistician - good luck...
This sample Correlation Plot may be of use: https://community.powerbi.com/t5/R-Script-Showcase/Correlation-Plot/td-p/58462
- send2aj9 years agoNew Member
Thanks Steve for a Great suggestion . Somehow I feel my data is not primed for this type of analysis. Do I have to unpivot my data an then do the analysis. I wanted to get the format of the raw data correct (pivot vs unpivot).
I am struggling with getting my dataset in right structure for chart & analysis
- Anonymous9 years agoNot applicable
I'm no statistician but, following the sample, I think you're right:
- Unpivot the values for each hour (i.e. highlight Name and Date, then Unpivot Other Columns),
- Rename the values columns to reflect the variable - e.g. "Number of errors", "Total proc time", "Volume of messages"; then
- Merge the three tables on Name and Date and Time Band with your three variables then on each row, unless you want to build table relationships etc..
Then add a corrplot visual via R per the sample. Note that as of yesterday's update, you can alternately add that specific corrplot as a custom "R-powered visual" via https://app.powerbi.com/visuals/ So far though, I've found no way to customise the plot with that custom visual, rather than writing it in R.
My quick test seemed to work per below screenshot, though all the zeros for Errors didn't seem to help. As I say, I'm no statistician - good luck...
- send2aj9 years agoNew Member
Brilliant Steve:
Let me try this out and see if it works. The chart is exactly what I am looking for. Truly appreciate your insights.
Aj