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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
TamilselviK
Helper I
Helper I

How to get Sum of Measure

Hi,

 

I have a Measure ex : Measure 1 : (Sum[Column1]/Sum[Column2])-1 ,Now i want to get Sum[Measure1] something like this. How can i get this.

 

Regards,

Tamilselvi K 

3 REPLIES 3
amitchandak
Super User
Super User

@TamilselviK , I think some text or image is missing after "Now i want to get Sum[Measure1] something like this"

Please share

 

Additionally, prefer to use divide

Measure 1 = divide(Sum[Column1]),Sum[Column2]))-1

 

or

Measure 1 = divide(Sum[Column1])-Sum[Column2]),Sum[Column2]))

Hi,

 

I have Changed my measure as you said Measure 1 : Divide(Sum[Column1],Sum[Column2])-1.

 

My ask is how to get Sum of Measure1. I can't use SUM function because it expects Column Name. 

 

Regards,

Tamilselvi K

@TamilselviK , for that you need a grouping column  from your table

 

sumx(values(Table[column]),[Measure1])

 

Usually, column is axis/row or legend of visual or the level of details

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors