Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
Anonymous
Not applicable

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!

1 ACCEPTED SOLUTION
camargos88
Community Champion
Community Champion

@Anonymous ,

 

SUMX doen't work ?

 

Ricardo



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



View solution in original post

4 REPLIES 4
Anonymous
Not applicable

I ended up just using sumx. So problem solved.

camargos88
Community Champion
Community Champion

@Anonymous ,

 

SUMX doen't work ?

 

Ricardo



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



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.

 

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

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.