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
Rinn
Frequent Visitor

Calculate slopes between two points

Hi, 

 

I am a beginner to DAX and I am trying to calculate the slopes for each two points of a curve :

(Index = order of X for each User)

UsersIndexXYSLOPE (calculated)
A104 
A20,52338
A314034
A41,539-2
A5222-34
B109 
B20,52634
B315456
B41,542-24
B5222-40
C1013 
C20,5113200
C31163100
C41,575-176
C5228-94

 

Can you help me pls ?

 

Best Regards.

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Here's my version (as a measure - could be a column too, I guess)

 

lbendlin_1-1684282891714.png

 

 

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

Here's my version (as a measure - could be a column too, I guess)

 

lbendlin_1-1684282891714.png

 

 

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