Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I want to calculate the date difference ,
ED - SD where SD and ED are different Columns and different rows,
Anyone having idea,
Thanks,
Solved! Go to Solution.
Add an index column in Query Editor and a calculated column in DAX.
Column = VAR ed = IF ( Table1[Type] = "Arr", LOOKUPVALUE ( Table1[ED], Table1[Index], Table1[Index] + 1, Table1[Type], "Dep" ) ) RETURN ed
Add an index column in Query Editor and a calculated column in DAX.
Column = VAR ed = IF ( Table1[Type] = "Arr", LOOKUPVALUE ( Table1[ED], Table1[Index], Table1[Index] + 1, Table1[Type], "Dep" ) ) RETURN ed
Hi @urspalani
Do you have any other columns to link the top 2 rows together (I assumed they are linked), but not to the bottom two?
They are linked based on Arr & Dep
So is all the data sequential? Whats to stop linking the top row from the bottom row?
This is just a example,
In real time i will get different Report type that is Arr,Dep,ONH,BOSP,EOSP
I have to find the difference always for Arr & Dep ,it will appear in different line not next two each other ,Based on Report type i have find the difference in dates,
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
99 | |
80 | |
70 | |
59 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |