Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Creating a claculated row

Hi team,

Below is the sample data ,how to show the calculated row column by using the below syntax.

AttributesPeriod1Period2Period3Total
ab100100200400
bc100100200400
cd100100200400
de100100200400
ef100100200400
fg100100200400
gh100100200400
hi100100200400
ij100100200400
jk100100200400
Result70070014002800

 

Result = ab+bc+cd-de-ef+fg+gh+hi-ij+jk

 

Regards,

Suresh Pantra.

  • Anonymous what is the logic? Why you highlight some values in red?

  • Hi Anonymous ,

    1) Is all table you show a DAX calculated table? If yes, then your question is easy achievable. 

     

    2) Or you put data to the table/matrix visual and need to add an extra row with specific logic? If yes, then it is not working in such way.


    Regards,
    Ruslan Zolotukhin (zoloturu)
    BI Engineer at Akvelon Inc. / Kharkiv Power BI User Group Leader / DAX & Power BI Trainer
    -------------------------------------------------------------------
    Did I answer your question? Mark my post as a solution!
    It was useful? Press Thumbs Up!

    You are from Ukraine? If yes then welcome to Power BI User Group - KhPUG website. Other country? Check and find proper one - Power BI User Groups

     

  • parry2k's avatar
    parry2k
    6 years ago

    Anonymous so always red one will get extracted?

5 Replies

  • Anonymous what is the logic? Why you highlight some values in red?

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi  parry2k ,

       

       

      • parry2k's avatar
        parry2k
        Super User

        Anonymous so always red one will get extracted?

  • zoloturu's avatar
    zoloturu
    Memorable Member

    Hi Anonymous ,

    1) Is all table you show a DAX calculated table? If yes, then your question is easy achievable. 

     

    2) Or you put data to the table/matrix visual and need to add an extra row with specific logic? If yes, then it is not working in such way.


    Regards,
    Ruslan Zolotukhin (zoloturu)
    BI Engineer at Akvelon Inc. / Kharkiv Power BI User Group Leader / DAX & Power BI Trainer
    -------------------------------------------------------------------
    Did I answer your question? Mark my post as a solution!
    It was useful? Press Thumbs Up!

    You are from Ukraine? If yes then welcome to Power BI User Group - KhPUG website. Other country? Check and find proper one - Power BI User Groups