Product usage analysis
This commit is contained in:
19
Notes/Product usage analysis.md
Normal file
19
Notes/Product usage analysis.md
Normal file
@@ -0,0 +1,19 @@
|
||||
Analysis of cost per use, see [[Buy wisely]]
|
||||
|
||||
```dataview
|
||||
table without id
|
||||
file.link as Product,
|
||||
rating as Rating,
|
||||
"$" + round(price/(monthly-uses*((date(today) - acquired).months)),2) as "Per use",
|
||||
monthly-uses as "Uses/month",
|
||||
dateformat(acquired, "yyyy-MM") as Acquired,
|
||||
round((date(today) - acquired).months,1) as "Months",
|
||||
"$" + string(round(price, 2)) as Price,
|
||||
round(monthly-uses*((date(today) - acquired).months),0) as "Total uses",
|
||||
type as Type
|
||||
where
|
||||
monthly-uses > 0 and
|
||||
contains(category, [[Products]])
|
||||
sort
|
||||
round(price/(monthly-uses*((date(today) - acquired).months)),2) asc
|
||||
```
|
||||
Reference in New Issue
Block a user