📅  最后修改于: 2022-03-11 14:55:56.687000             🧑  作者: Mango
/*
First, create a table with just the Equipment/Staff ID's in it.
Then used the CROSSJOIN() function to create a cartesian product table of the dates
and the equipment/ staff.
*/
All Dates And Equipment = CROSSJOIN('calendar','Equipment')
/*
I then added a column to the "All Dates and Equipment" table:
*/
Was Rented = if(isblank(LOOKUPVALUE('Vehicle Information'[Charge Date],'Vehicle Information'[Charge Date],[Date],'Vehicle Inf