Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello everyone, I need help with with calculate columm on dax!!
C3= A3-B2
C4 = A4-B3... C5=A5 -B4
Please me to find this column. Thanks 🙂
Solved! Go to Solution.
Hi,
I assume the order of each column -> always increase.
If this is the case, please check the below picture and the attached pbix file.
Needed CC =
IF (
NOT ISBLANK ( OFFSET ( -1, ALL ( Data[End] ), ORDERBY ( Data[End], ASC ) ) ),
Data[Start] - OFFSET ( -1, ALL ( Data[End] ), ORDERBY ( Data[End], ASC ) )
)
Hi,
I assume the order of each column -> always increase.
If this is the case, please check the below picture and the attached pbix file.
Needed CC =
IF (
NOT ISBLANK ( OFFSET ( -1, ALL ( Data[End] ), ORDERBY ( Data[End], ASC ) ) ),
Data[Start] - OFFSET ( -1, ALL ( Data[End] ), ORDERBY ( Data[End], ASC ) )
)
Its help me a lot
Thank You
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 58 | |
| 45 | |
| 42 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 172 | |
| 107 | |
| 92 | |
| 54 | |
| 46 |