Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Using Measure to add multiple columns based on an expression...

I am wondering how to add multiple columns based on an expression.

 

SImply I have a condition based on one column value and adding multiple columns. For example

 

column A = value so add column1 +column2 + column3

In my case taking a specific biennium and adding the columns for $ for each FM. I would still use the filters set in the slicers

but I have to override one of them to get the previous biennium balance.

 

Sum will not work since that sums vertically in a column.

 

Thanks!

4 Replies

  • camargos88's avatar
    camargos88
    Community Champion

    Anonymous ,

     

    SUMX doen't work ?

     

    Ricardo

    • Anonymous's avatar
      Anonymous
      Not applicable

      Maybe. I have an issue with circular dependency even with that function. I have a measure in the sumx. I suspect once that is solved I can more test data it should work.

       

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi Anonymous ,

        Could you please provide the related screen shot with some sample data and expected result? This will allow us to understand your requirement easier and provide you with solution suitable for your scenario. Thank you.

        Best Regards

        Rena

  • Anonymous's avatar
    Anonymous
    Not applicable

    I ended up just using sumx. So problem solved.