'Tableau Subtraction With Measures at Different Aggreagations

I have a monthly forecast in one table and daily sales in another. Is there a way in Tableau to develop a table calc that aggregates the daily sales to monthly where I can then subtract against by monthly forecast?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source