cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
Anonymous
Not applicable

Need a formula to produce overall average per week of month

It's Monday and the answer is probably as simple as 1 + 1 = 5 (ha ha) but I can't figure it out:

 

In my Date table, I have a column with the Week of the Month (according to how we break them down) for each day, I have the total number of months for which I have data for each of those weeks and sum count of all the tickets for each of those week blocks:

 

Ruthie09_0-1652717220569.png

I need a formula that will give me the AVERAGE for each of those week blocks vs. the Sum of them.  So, for example, instead of seeing 42,298 for W1, I'd want to see 7,049.  These will ultimately be put on line axis of a cluster chart along with other data (the counts for each week block of the current month and previous month so we can compare how the last 2 months compare with the cumulative average for all months).

 

Note that depending on the day of the month, not every week-block will be based on the same number of months (see W4).

 

What totally obvious (probably) formula would I use to produce that?

 

If you are willing to go one step further, ultimately what I'll need are the weekly block average that will still respect any filters/slicers applied to it EXCEPT my selected date range filter.  The other data that is in the clustered chart must still respect the date filters applied...just the line for this data should ignore that (so I can't use the Edit Interactions on it).  

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

This goes to show how stupid you can be when you don't get enough sleep.  How about the count / count of months????  DUH!

View solution in original post

1 REPLY 1
Anonymous
Not applicable

This goes to show how stupid you can be when you don't get enough sleep.  How about the count / count of months????  DUH!

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors