Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

Grouping data in different columns

I have a set of data which looks like the below: 

 

Order NumberAmount 1Amount 2Amount 3Amount 4
1138nullnullnull
1null124nullnull
2nullnull127null
2nullnullnull130
3144nullnullnull

 

When I display this in a table in PowerBi it looks like this;

Order NumberAmount 1Amount 2Amount 3Amount 4
1138nullnullnull
1null124nullnull
2nullnull127null
2nullnullnull130
3144nullnull

null

However I really want to have the amount associated with each order number, i..e I want it to be displayed like this: 

Order NumberAmount 1Amount 2Amount 3Amount 4
1138124nullnull
2nullnull127130
 
 
 

How can I do this? I want to display this data in my actual report.

6 Replies

  • Hi Anonymous ,

     

    Add summarisation of SUM on all of your AMOUNT columns.

     

    Thanks,

    Pragati

  • Anonymous , Check all these four column should be of number type -Amount 1 Amount 2 Amount 3 Amount 4

     

    Ande set their default summarization as the sum

    • Anonymous's avatar
      Anonymous
      Not applicable

      I am still running into this problem, even when summarizing each of the columns amitchandak 

       

      • Anonymous's avatar
        Anonymous
        Not applicable

        What is the setting on your Order number column?

         

  • Icey's avatar
    Icey
    Community Support

    Hi Anonymous ,

     

    I can't reproduce your issue. Please share us your pbix file. Please remove sensitive information. It is suggested to upload your file to OneDrive for Business and then paste the link here.

     

     

    Best Regards,

    Icey