How do I calculate weeks of supply on hand of inventory within Tableau?

Version 1

    I am trying to calculate the current weeks of supply of inventory by account based on current sales rate.

    I can do this in excel but am not sure how to do within Tableau.

    Please advise.