Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Row wise Calculation

Hi,

I fail to do the row-wise calculation in DAX measure.

I attached screenshots for your reference.

 Company   

State

ABCD
A12510
B23620
C34730
D45840
Total101426100

 

Now, the values coming in 'Total', want to use in the new table. I want to use the sum of 'Company A' in a new table in a single row.

Ex: 

CompanyTotal No. of Sales
A10
B14
C26
D100

Now, how can I get this total value in this new table?

Please help me we this concern. Thank you in advance

  • Hi Anonymous ,

     

    This is what you want.

    But your table columns are actually aggregated like this.

     

    So is it a mistake in your expression?

     

    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.

     

3 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      amitchandak Yes, the first table is the visual table made using Matrix visulaization.

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

    Hi Anonymous ,

     

    This is what you want.

    But your table columns are actually aggregated like this.

     

    So is it a mistake in your expression?

     

    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.