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! Request now

Reply
vijaykumarj19
Microsoft Employee
Microsoft Employee

Required static value from existing column

vijaykumarj19_0-1605084961398.png

I have c1 and c2 columns 
Required R1 and R2 

sum(c1)=90

R1 = sum(c1)/10 this output should be in each row of R1 column

and R2 = running total of R1 based on c1

 

please help me if you have any idea

2 REPLIES 2
amitchandak
Super User
Super User

@vijaykumarj19 , C1 is text, C2 is numeric

Both as new column

R1 = sum(Table[c2])
R2= sumx(filter(Table[C1] <=earlier(Table[C1])),Table[C2])

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

If i want to start R2 from column c1 = Test2 , then

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.