Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi all,
I feel like I am missing something very obvious but can't put my finger on it. Any help would be greatly appreciated.
My first measure is this:
Closed = CALCULATE(
DISTINCTCOUNTNOBLANK(
Fact[Case ID]
),
FILTER(
Fact,
Fact[Categories] = "New" && SUM(Fact[Revenue])>0
),
)
This counts the number of "New" cases where Revenue is +ve.
Then I tried to do the same thing for last year, but getting a blank:
Closed LY = CALCULATE(
DISTINCTCOUNTNOBLANK(
Fact[Case ID]
),
FILTER(
Fact,
Fact[Categories] = "New" && SUM(Fact[Revenue])>0
),
SAMEPERIODLASTYEAR(Calendar[Date])
)
Please help!
Solved! Go to Solution.
Try
Closed LY =
CALCULATE(
[Closed],
SAMEPERIODLASTYEAR(Calendar[Date])
)
Try
Closed LY =
CALCULATE(
[Closed],
SAMEPERIODLASTYEAR(Calendar[Date])
)
Thank you so much! I feel like kicking myself now 😁
User | Count |
---|---|
97 | |
87 | |
77 | |
67 | |
63 |
User | Count |
---|---|
112 | |
96 | |
95 | |
67 | |
65 |