Forum Discussion

XeperRx's avatar
XeperRx
Frequent Visitor
6 years ago
Solved

Changing from Today to specific Date

Hello, 

 

I'm new here and just beginning with Dax. I currently have formula that works well, but I'm having to make some adjustments to work with a test file. The test file data ends on January 18, 2018. Here is the formula: 

 

Average Days to Sell = divide([Inventory Valuation (Today)],[Last 365 Days COGS Amount]) * 365

 

 

 

How would I write this to work with the final day being January 18, 2018 instead of (Today)?