Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

summarize points

Hi all,

 

I have an issue with below.

 

I want to transfom my current data table to the desired data table.

 

Can somebody help me out? 

 

Thanks!

John

 

Current data

carrier_product_groupsectionproduct_sub_grouppartnumber_suporder_amountpoints_audit
Repaired Eletronics3.cML3 repaired microprocessor125600822
Repaired Eletronics3.cML3 repaired microprocessor125601142
Repaired Eletronics3.cML3 repaired microprocessor125601222

 

Desired data

carrier_product_groupsectionproduct_sub_groupaverage_points_audit
Repaired Eletronics3.cML3 repaired microprocessor2

 

  • Hi Anonymous 

    just put columns 

    carrier_product_group section product_sub_group

    on your vusiaul table.

    then put column points_audit and set aggregation as Average in Visualization pane

  • Hi Anonymous ,

     

    Or create a calculated table.

    Desired data = 
    SUMMARIZE(
        'Current data',
        'Current data'[carrier_product_group],
        'Current data'[section],
        'Current data'[product_sub_group],
        "average_points_audit", AVERAGE('Current data'[points_audit])
    )

     

    Best regards,
    Lionel Chen

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

2 Replies

  • az38's avatar
    az38
    Community Champion

    Hi Anonymous 

    just put columns 

    carrier_product_group section product_sub_group

    on your vusiaul table.

    then put column points_audit and set aggregation as Average in Visualization pane

  • v-lionel-msft's avatar
    v-lionel-msft
    Community Support

    Hi Anonymous ,

     

    Or create a calculated table.

    Desired data = 
    SUMMARIZE(
        'Current data',
        'Current data'[carrier_product_group],
        'Current data'[section],
        'Current data'[product_sub_group],
        "average_points_audit", AVERAGE('Current data'[points_audit])
    )

     

    Best regards,
    Lionel Chen

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.