Recently got my golden certificate for completing SQL Server Implementation... I am officially allowed to add 1 and 1. Still a noob and need some serious help :-).
I have really tried hard to find the solution to this, previously using DAX in Excel it work out perfectly.
Table with Refueling Transactions: File (Source Information); FleetNo_PT (Asset Number); Date_Refuel; Quantity; Reading (KM_Odometer)
Requirement: Show Current and Previous Transaction Information on a Single Line AND then calculated results Days Between Refueling; KM_Driven; Consumption_Rate (KM_Driven divide by Quantity)
I have tried many different way but non are successful