Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Transform Monthly Data to show Daily Averages

I have a data set that shows monthly data.  What I want to do is display this monthly data on a daily interval so that I can compare daily performance to a monthly forecast.  How can I accomplish this?

 

DateVolumeRevenueCOGS
1/1/20192396$483$218
2/1/20191,958$402$214
3/1/20192076$428$226
4/1/20193717$406$182
5/1/20192020$431$204
6/1/20191833$392$183
7/1/20192135$439$243
8/1/20192304$471$250
 
7 REPLIES 7
Greg_Deckler
Community Champion
Community Champion

You need a variation of this: https://community.powerbi.com/t5/Quick-Measures-Gallery/Periodic-Revenue-Reverse-YTD/m-p/373185#M111

 

Probably create a new Calendar table using CALENDAR or CALENDARAUTO. Then create a caculated column in that table that matches up the month and year for your fact table's Date column with the current row's month and year date. Divide that number by the (DATE(YEAR([Date]),MONTH([Date]),1) - EOMONTH([Date],0)) * 1. + 1



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Thanks @Greg_Deckler , but I'm not entirely clear on your proposed solution. Could you expand your explanation, please? I should note that I already have a Calendar table as well.,, These two tables are married by date.

@Anonymous See attached PBIX.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

@Greg_Deckler...  I see now.  Thank you.  If I could impose on you for two additional layers of complexity.  1 is an additional filter for customer... 2 is that my Calendar is set up to recognize workdays, so I only want to divide against workdays.  I'm trying to figure out how to upload the PIBIX, but it appears I don't have the ability to.

@Anonymous See this for work days: https://community.powerbi.com/t5/Quick-Measures-Gallery/Net-Work-Days/td-p/367362

 

Also, you probably won't see the Choose Files button that @Anonymous speaks of. It's some kind of privilege that the moderators turn on. Most people use OneDrive or Box, etc. and paste a link.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

How to upload? If you click the Reply button, below the textbox in which you type your answers and questions, you'll see a Choose File button.

Best
D
Anonymous
Not applicable

Thanks @Greg_Deckler , but I'm not entirely clear on your proposed solution.  Could you expand your explanation, please?  I should note that I already have a Calendar table as well.,, These two tables are married by date.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.