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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Wresen
Post Patron
Post Patron

Calculate on each row

Hi and thx for reading this.

 

I have a simple problem i belive but i cant get it to work as i want.
I have a table like below:

c111.PNG

I want to have a measure that multiplys each rows "Sum of Value" with "Proc Value.
I want to be able to remove all columns except Month and measure to get a resulat like:

C222.PNG

 

Thanks so much for any help..

1 ACCEPTED SOLUTION
Wresen
Post Patron
Post Patron

I think i have found a solution: (maybe not the best but i seems to work)

Measure  = var _proc  = CALCULATE(sum(Sheet1[Proc]),filter((Sheet1),Sheet1[Proc] <> BLANK()))
var _value = CALCULATE(sum(Sheet1[value]),filter((Sheet1),Sheet1[Proc] <> BLANK()))
Var div = _proc/_value
return
div * _value

View solution in original post

3 REPLIES 3
Tahreem24
Super User
Super User

@Wresen  TRy this measure: 

Measure = IF(BLANK(Proc Value), Blank(), SUM(Values) * SUM(Proc Value))

Then take this Month and  Measure in a table.

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard

Hi @Tahreem24 
Thanks for your reply, but I am sorry but i dont get that mesure to work at all.

 

 

 

Wresen
Post Patron
Post Patron

I think i have found a solution: (maybe not the best but i seems to work)

Measure  = var _proc  = CALCULATE(sum(Sheet1[Proc]),filter((Sheet1),Sheet1[Proc] <> BLANK()))
var _value = CALCULATE(sum(Sheet1[value]),filter((Sheet1),Sheet1[Proc] <> BLANK()))
Var div = _proc/_value
return
div * _value

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors