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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
elguestca1
Helper I
Helper I

Value difference by index in rows

Hello,

I am facing this issue that I need to get difference between rows by index number.

Data i have -->

elguestca1_0-1684759577638.png
So row with index 31 should return 4 (338-334), row with 32  index should return 3 (341-338), row with 33 index should return 1 (342-341) and so on and so on. In my data Index is grouped by ak_id. It seems a simple task, but everything i tried i get blank values. 

Maybe anyone has any ideas on how to do this. It doesn't matter it's measure or cc.

Thank you!

 

1 ACCEPTED SOLUTION
Ahmedx
Super User
Super User

2 REPLIES 2
Ahmedx
Super User
Super User

pls try this

Screen Capture #1152.png

@Ahmedx superb!! Thank you very much!

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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