Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
My requirement is to create a measure that calculate value on previous value of other measure.
Below is the example of excel that need to be replicated in power bi:
column b = column a(1)-column a(2)
Column a
-3.110723179 Column b
-0.873789535 2.236933644
1.740692298 2.614481833
-1.41959625 3.160288548
@sai1995
I am not sure if you are trying to perform a recursive calculation here, your example is not clear to me.
Please refer to below article from @Greg_Deckler if it could be of use for you.
https://gregdeckler.com/2019/03/06/previous-value-recursion-in-dax/
________________________
If my answer was helpful, please click Accept it as the solution to help other members find it useful
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Hi Fowmy,
Thank you for your replay
Let me explain the exact issue and need:
This is a sceen shot from excel that need to be replicated in power bi. The first field is also a measure and can't be converted to calculated column, need to create second field (measure) that calculate previous value - current value. From the screen shot:
Record 1: (blank) - (-3.11) = blank
Record 2: -3.11 - (-0.87) = -2.23
and so on.
I Tried Earlier function but it works only with columns.
Hi Fowmy,
Let me explain the exact issue and need:
This is a sceen shot from excel that need to be replicated in power bi. The first field is also a measure and can't be converted to calculated column, need to create second field (measure) that calculate previous value - current value. From the screen shot:
Record 1: (blank) - (-3.11) = blank
Record 2: -3.11 - (-0.87) = -2.23
and so on.
I Tried Earlier function but it works only with columns.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
11 | |
10 | |
9 | |
8 |
User | Count |
---|---|
17 | |
12 | |
11 | |
11 | |
10 |