Forum Discussion

powerbienthuzi's avatar
powerbienthuzi
Frequent Visitor
4 years ago
Solved

Simple GroupBy Question

Hello -

 

I am trying to group people with the same period to show the summed value of compensation. So for instance, this employee example should show  14505 in period one. My current approach uses an if function but I know groupby would be the better route so any help would be appreciated.

 

8 Replies

  • What is the expected result? Are you trying to do this in the query editor or as a report visual or something else?

    • powerbienthuzi's avatar
      powerbienthuzi
      Frequent Visitor

      Hi Alexis - This would be a report visual andI rather have as it's own table since I want to add other columns to it. 

      • AlexisOlson's avatar
        AlexisOlson
        Super User

        OK. What are you currently getting and what are you trying to get your visual to look like?

         

        You shouldn't need any fancy DAX to do basic aggregations. Just drag the column you want to group on and the column you want to sum into your visual. (You may need to tell it not to aggregate pperiod.)