cancel
Showing results for
Did you mean:

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Helper I

## Getting a Month Goal to repeat for each Week in a Table

We have:

Goals that holds a [Rep]'s Monthly Goal using the first day of the [Month] (e.g. 1/1/2021, 2/1/2021).

SalesPerformance that holds the [Rep]'s Daily [Date] Sales Transactions.

Calendar that has [Date] and a measure for [WeekStartDate]

We are modeled:

Goals[Rep] to SalesPerformance[Rep]

Goals[Month] to Calendar[Date]

SalesPerformance[Date] to Calendar[Date]

Slicers:

[Rep]

[Year]

TABLE:

You can see that week Starting 12/28/20, which includes 1/1/21 shows the Sales Goal

1) How to make it repeat for each week (\$90,000 for 1/4, 1/11, 1/18, and 1/25)

2) Ultimately I would like it calculated to be the proportioned weekly amount, which I can do once I get it to repeat:

= month's sales goal / (week's sales days /month's total sales days)

Appreciate a little insight here... thank you, in advance.

1 ACCEPTED SOLUTION
Resolver I

Hi!

Alberto Ferrari created a video last week I think will help you:

You have to change the filter context with a measure. Good Luck!

2 REPLIES 2
Resolver I

Hi!

Alberto Ferrari created a video last week I think will help you:

You have to change the filter context with a measure. Good Luck!

Helper I
So while you did your work in a Matrix, it was enough for me to understand the granularity.  I was comparing MonthDate to a WeekDate, now from your video... determined I should use MON-YR.

SalesGoalforPeriod = sumx(values('Calendar'[MON-YR]),calculate(sum(Sales_Goals_Reps[Goal]),allexcept('Calendar','Calendar'[MON-YR])))

Thank you Again.

Announcements

#### Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

#### Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

#### Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors