Forum Discussion
Survey data has hierarchy question, interaction frequency then rating (weight) - help!
- 6 years ago
That is a lot to wade through. Can you post sample data as text, expected output and the logic of how you want to get from a to b? Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
- phuang6 years agoFrequent Visitor
Hi Greg,
Thanks for the guideline, I've read and put together below.
I expected to output line visual that shows the average rating of PRODUCT and ENGAGEMENT by X,Y, and Z which could be filtered by the Frequency (Daily, Weekly, Monthly, Quarterly, Yearly, Never). I want to know how the Frequency changes the Avg. rating.
I created the Avg. rating line visual by unpivoted the X, Y, Z PRODUCT/ENGAGEMENT columns but I don't know how to make the Frequency works with the visual. I tried unpivoted the Frequency columns with the PRODUCT and ENGAGEMENT columns but it messed up the Avg. rating calculation.
Business Unit X Frequency X PRODUCT Rating X ENGAGEMENT Rating Y Frequency Y PRODUCT Rating Y ENGAGEMENT Rating Z Frequency Z PRODUCT Rating Z ENGAGEMENT Rating A (Blank) (Select none) (Select none) Monthly B Yearly Quarterly 3 4 Yearly 3 3 C Quarterly 3 3 Yearly 3 3 Yearly 3 3 D Never Never E Yearly 2 2 Never Monthly 3 3 F Never Never Quarterly 2 2 G H Monthly 3 3 I J Yearly 3 2 Yearly Monthly 3 3 K A Yearly 3 3 Yearly 3 3 Yearly 3 3 B Yearly 1 3 Quarterly 3 2 Quarterly 3 3 C Never Yearly 3 3 Monthly 4 4 D Never Never Quarterly 3 3 D Never Never Yearly 3 C E Never 3 3 Never 3 3 Yearly 3 3 F Yearly 3 3 I Never Never Never J Never Never Quarterly 3 3 K Daily 2 2 Yearly Yearly 2 Please let me know if you'd like me to provide more information/details.
Thanks in advance for your time helping me.
- Ashish_Mathur6 years ago
Super User
- phuang6 years agoFrequent Visitor
Hi Ashish,
Thank you so much! It works perfectly! Your file really helps me out 😊
I had spent many hours on this visual and felt so lost.
One more question, is there a way to add an additional filter for PRODUCT / ENGAGEMENT rating?
I can show only the PRODUCT Avg. by deleting the Average engagement rating from the Values in the Visualization panel.
When I share my report, viewers won’t have access to the visualization panel to do this change, so it would be easier if I provide it in the Filters panel. Viewers can view either PRODUCT or ENGAGEMENT or both.
I played with your file and did below:
Axis – Attribute.1 X,Y, Z – done
Filter – Business Unit – done
Product/Engagement – not sure if this is doable…
Thank you.
Penny