Dear All,
I have a some rows where it points to another row in same table based on RelativeId column value. I need to find the difference of these two records date values using MDX.
for ex. sample table structure with some values
ID - HasRelative - Date - RelativeId
1 - False - 2023-01-01 - NULL
2 - True - 2023-08-01 - 1
Here record 2 has a relative record 1. The output should be difference of Date values between 2 records which are mapped with RelativeId.
Thank you very much
- This topic was modified 1 year, 3 months ago by LearnTSQL.
- This topic was modified 1 year, 3 months ago by LearnTSQL.