Forum Discussion
gaikwadaa123
Helper II
4 years agopercent change by rows
Hello, I need urgent help. I have below table I would like to calculate the percent change of the 'Value' column for each Hour. So that 0 hour will have 0 as percent change always and ...
- 4 years ago
Hi gaikwadaa123 ,
Please create it as a calculated measure, not a calculated column.
If you want to create a calculated column, try this:
Column = Table[Diff] - CALCULATE ( SUM ( Table[Diff] ), FILTER ( Table, Table[MeasurementName] = EARLIER ( Table[MeasurementName] ) && Table[Date] = EARLIER ( Table[Date] ) && Table[hour] = EARLIER ( Table[hour] ) - 1 ) )Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Icey
Community Support
4 years agogaikwadaa123
Helper II
4 years agothank you it worked. I am looking for another same issue,
I have two tables Difference and history ,
I would like to calculate the difference between Difference(actual) and History(value) colums based on the Hours and rate area.
Here is the screenshot: