How do I calculate days remaining in a fiscal month?

Reply
White Belt

How do I calculate days remaining in a fiscal month?

I need to grab today's date and find out which month it falls into. For example, today's date, according to this calendar, falls in the fiscal month of August.

 

I need to calculate how many days there are left in each fiscal month. The answer here would be today's date (7/29 subtract 08/22) and that answer in a new column (24 days)

 

Thanks.

Black Belt

you need to build a (dimension) table that for each day says what the end (and start) of the fiscal month is.  then JOIN that data to your transactions.  after that, dateDiff is a piece of cake.


Jae Wilson
Check out my Domo Training YouTube Channel

**Say "Thanks" by clicking the heart in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"
Announcements
New & Improved Dojo: Get excited for a new feel and additional features in the online community.

Site will be down February 4-5th for maintenance.

Launch coming February 8th!