on 2023 Jan 26 1:25 PM
I want to build a SAP BI document where I process a lots of vehicle data in order to find vehicles with tampered mileage odometer. The data table include VIN, and Date / Mileage at each service visit.
I am absolutely a beginner and need help with some simple coding, how to set up the variables in SAP BI 4.2 Web interface, so the report can process and find the VINs with manipulated mileage odometer.
Normally the mileage increase when the car is used. I want to find these VIN's where mileage has decreased with previous date.
The example show 2 VIN's which one have a tampered mileage.
Request clarification before answering.
Follow below steps.
Sort the table data in ascending order by VIN and date.
Add extra column and place bthe below formula
V Milage=If([Milage]<Previous([Milage];([VIN]))) Then Previous([Milage];([VIN]))-[Milage]
Filter on the V Milage variable whwre greater than 0
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks! It worked great after adding the Nofilter . Report now working as I want to !
| User | Count |
|---|---|
| 18 | |
| 6 | |
| 6 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.