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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

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

@Anonymous , 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]))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

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

@Anonymous , 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

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.