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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 171 | |
| 136 | |
| 119 | |
| 80 | |
| 54 |