Forum Discussion

AndrejZitnay's avatar
AndrejZitnay
Post Patron
9 years ago
Solved

Transpose table with weighted average

Hello Guys,

 

Can you please help me with transposing table?

I need to create P&L per specific category.

My problem is that Category is in rows but I need that in columns.

Please be aware that current % are not averages but weighted average calculated as measures.

(DAX formula : SUMX('Test',Test'[Total amount]*Test[New ROA])/SUM('Test'[Total amount])

 

In best case scenario I would include there as well figures (these can be sums)

 

 

Many thanks in advance.

 

Andrej

 

  • Hi,

     

    I tried but i can't any way to get table like which u mention in above.

     

    but i suggested to u, y  u go with like this model. it will also help to u reach your goal.

     

    pls look these images , and let me know if any help.

    Select four column and click Unpivot

     

     

    Now this is your Table

     

     

    This is Matrix Report

     

     

     

     

4 Replies