Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
1 year ago
Solved

Calculating sum from powerbi model

Hello,

 

I have created a simple 2 column table on my powerbi desktop using "Table" in the visualizations.

 

I dragged in a measure column [ sale_date ] and a dimension column [numer_of_widgets].

The dimension column I just want to get the sum of the whole column.

 

I cant use powerquery due to security reasons, so all I have is powerbi desktop and I want to hopefully create a measure using DAX so I can take the sum of [numer_of_widgets] column and make it available via a measure, so I can graph the answer.

 

I could use a calculated column but dont know how to get the sum of a calculated column and make it available like a measure so it can be graphed.

 

When I try to do a   =sum(<table.[column])   I cant seem to get it to work.

 

I'm strugging to understand whats wrong as Ive been given this task, but not a lot of training.

 

Any help would be really appreciated. Thank you.

  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi Anonymous,

     

    We hope your issue has been resolved. If so, please "Accept as Solution" and give 'Kudos' so that community members can find it easily.

     

    Please continue using the Microsoft community forum.

     

    Regards,
    Pavan.

4 Replies