Link to home
Start Free TrialLog in
Avatar of Daryl Chisholm
Daryl ChisholmFlag for United States of America

asked on

Creating dataset for everyday instead monthly with calculations.

I have a dataset that is projections for items with two categories.  Each item has a projection for month periods through 2027.  However I need to make them for everyday based on the projection divided by number of days in that month.  I would do this manually but there are 18,000 records and I don't want to do it by hand.  I would like to do this in a query or as much as possible and then export it out into power BI for a dashboard.

Avatar of Scott Pletcher
Scott Pletcher
Flag of United States of America image

Which specific SQL dbms are you using?  SQL Server? Oracle? MySQL?  The specifics will greatly affect the answer coding.
Avatar of Daryl Chisholm

ASKER

My apologies.  I'm using SQL Server and currently on 2017 version.
ASKER CERTIFIED SOLUTION
Avatar of Scott Pletcher
Scott Pletcher
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This was perfect, Scott!  Exactly what I was trying to do!