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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Haroon95
Regular Visitor

Absolut value pr row

Hi

 

Is it any function which allows you to calculate the absolute value pr row, and then summarize this?
Tried the "Absolut" function, but the outcome is not right

 

Thnx

3 REPLIES 3
v-diye-msft
Community Support
Community Support

Hi @Haroon95 

 

I figure that you should probably refer to the below expression:

Measure = SUMX(Table1,CALCULATE(ABS(MAX([Column1]))))

1.PNG

 

I’ve created a sample and attached here: https://wicren-my.sharepoint.com/:u:/g/personal/dinaye_wicren_onmicrosoft_com/Ecz0ysTbu0dJn2JE_wXWF9...

 

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

Hi 
tried it now, and this error comes up. Think its because I am trying to calculate abs value of a measure, and not a column. My solution was to extract the measure values to excel, sort the data, and then create a new table with the absolute values.

Do you have a way to calculate total abs value for a measure?

Regards.

ABS Power bi.PNG

Hi ,

 

No need to add Max ahead of the measure name and using SUMX:

Measure 3 = SUMX(Table1,ABS([Measure 2]))

11.png

Best regards,

Dina Ye

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

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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