Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi All,
I am still quite new to Power BI and DAX and need some help with a measure. I have 3 tables I am using data from as well as a date table they are all connected to.
Tables
1. Forecast table - weekly values are added for a monthly forecast.
Date of Forecast | Forecast Month | Sales Person | Forecast |
5/7/2023 | 31/7/2023 | John Smith | 10000 |
12/7/2023 | 31/7/2023 | John Smith | 10500 |
5/7/2023 | 31/8/2023 | John Smith | 25000 |
12/7/2023 | 31/8/2023 | Johh Smith | 20000 |
2. Quotas - contains information on a sales persons quota by month
Sales Person | Month | Quota |
John Smith | 31/7/2023 | 20000 |
John Smith | 31/8/2023 | 20000 |
3. Actuals - obtained at the end of each month for each sale made
Date of Sale | Sales Person | Amount |
4/7/2023 | John Smith | 5000 |
13/7/2023 | John Smith | 1000 |
13/7/2023 | John Smith | 1500 |
By month, I would like to record the gap to the individuals quota where we use the persons actuals if available, and if not, we use the forecast.
This is an example of my current view. It is all accurate except the column subtotals for delta to quota.
The measures in this view are:
Forecast =
Quota = SUM(Quotas[Quota])
Delta to quota =
I think https://www.sqlbi.com/articles/why-power-bi-totals-might-seem-inaccurate/ will explain.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
24 | |
10 | |
7 | |
6 | |
6 |
User | Count |
---|---|
30 | |
11 | |
11 | |
10 | |
6 |