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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
vijaykumarj19
Employee
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])

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

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Users online (1,595)