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 have a table like this:
As you can see first column is date column and second is just data, I need to make a third column that it would show previous day data from second column.
In example the last 3 rows in that table should look like this:
Solved! Go to Solution.
@Anonymous , Create a new column like
new column =
var _max = maxx(filter(table, [Date] < earlier([Date])),[Date])
return
maxx(filter(table, [Date] = _max),[Data]) //Data is the second column
@Anonymous , Create a new column like
new column =
var _max = maxx(filter(table, [Date] < earlier([Date])),[Date])
return
maxx(filter(table, [Date] = _max),[Data]) //Data is the second column
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 |
---|---|
112 | |
99 | |
73 | |
72 | |
49 |
User | Count |
---|---|
145 | |
109 | |
108 | |
90 | |
64 |