Forum Discussion

newgirl's avatar
newgirl
Post Patron
7 years ago

Measures as Row Data Fields

Hi! In our company, we let our clients answer a survey to rate the drivers of the company and we download and summarize the results for us to analyze.

Below is a sample downloaded data set:

ClientDriver 1Driver 2Driver 3Quarter
A520Q2
B645Q2
C914Q2
D487Q2
E073Q2
F207Q2

 

In one part of the report, I need to show the average rating per driver, just like a simple table below. How do I show this in power BI considering that in order to compute the average, I need to use measures?

 

When I tried to place the measures in the row data, it doesn't want to. But anyway, how do I show the simple table below in my report?

 Score
Driver 14.33
Driver 23.67
Driver 34.33

 

 

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi newgirl ,

    Maybe this can be interesting for you, the result wont be shown in a table but your only goal is to display information you can have something like that

    You can use the card visual (this one) : 

    Then add Drivers 1, 2 and 3 to the fields of the visual. 

    Data will first be shown as a sum, which you can change to display average instead :

    (it's in french but it should look similar ;) )

     

    Regards, 

    Etienne

  • Mariusz's avatar
    Mariusz
    Community Champion

    Hi newgirl 

    You can select all Driver Columns In query editor and Click Unpivot, this will give you a table like below.

     

     

    From there, you just need to drag the Drivers to a visual and average the Score. 

     

    Best Regards,
    Mariusz

    If this post helps, then please consider Accepting it as the solution.

    Please feel free to connect with me.
    Mariusz Repczynski