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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Anonymous
Not applicable

SUM a measure to a column

image.png

Hi,

i want to sum these 2 values but first column(A) is a measure and second is a column(B).

 

How can i do that?

 

Result:

ColumnC = (A+B) 12882,29 + 5242,9

 

Thanks

1 ACCEPTED SOLUTION
Anonymous
Not applicable

If it is just in the table you want it done, then I would change column B into a measure

Sum Ore impiegate su assengnabili = SUM(factTable[Ore impiegate su assengnabili])

And then I would make a measure C which is the sum of the two first measures:

C = [Sum Impiegate su assegnate] + [Sum Ore impiegate su assengnabili]

If you want it in the factTable, then I would create a calculated column with measure A, and a calculated column which hold the sum of A and B.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

If it is just in the table you want it done, then I would change column B into a measure

Sum Ore impiegate su assengnabili = SUM(factTable[Ore impiegate su assengnabili])

And then I would make a measure C which is the sum of the two first measures:

C = [Sum Impiegate su assegnate] + [Sum Ore impiegate su assengnabili]

If you want it in the factTable, then I would create a calculated column with measure A, and a calculated column which hold the sum of A and B.

Anonymous
Not applicable

image.pngI cant transform it in a measure

Anonymous
Not applicable

Can you then make column B into a measure? And then add the two measures into measure C?

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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