March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I want to create this matrix:
Q1 | Q2 | Q3 | Q4 | Total | |
Planned | 10 | 10 | 10 | 10 | 40 |
Actual | 5 | 7 | 12 | ||
Estimate by EOY | 5 | 7 | 10 | 10 | 32 |
Data
Planned Table
Project | Quarter | Resource | PlannedAmount |
P1 | Q1 | A | 5 |
P1 | Q1 | B | 5 |
P1 | Q2 | A | 5 |
P1 | Q2 | B | 5 |
P1 | Q3 | A | 5 |
P1 | Q3 | B | 5 |
P1 | Q4 | A | 5 |
P1 | Q4 | B | 5 |
Actual Table
Project | Quarter | Resource | ActualAmount |
P1 | Q1 | A | 3 |
P1 | Q1 | B | 2 |
P1 | Q2 | A | 3 |
P1 | Q2 | B | 4 |
Matrix
Column = Quarter
Rows:
Planned = sum(PlannedAmount)
Actual = sum(ActualAmout)
Estimate by EOY = if([Actual] > 0, [Actual], [Planned])
My Total Estimate by EOY is showing 12, instead of 32. Any suggestions would be appreciated. Thank you.
Solved! Go to Solution.
Hi @jabrillo
You can try
Estimate by EOY =
SUMX (
VALUES ( TableName[Quarter] ),
CALCULATE ( IF ( [Actual] > 0, [Actual], [Planned] ) )
)
Hi @jabrillo
You can try
Estimate by EOY =
SUMX (
VALUES ( TableName[Quarter] ),
CALCULATE ( IF ( [Actual] > 0, [Actual], [Planned] ) )
)
This works. Thank you so much.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
User | Count |
---|---|
94 | |
92 | |
91 | |
79 | |
49 |
User | Count |
---|---|
160 | |
144 | |
103 | |
74 | |
57 |