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.
I currently have a formula that calculates the last 3 months of revenue and it looks like this:
This works as intended but I now need to make some modifications. How can I modify this (or create a new) formula that will:
Display the last COMPLETED quarter of revenue. This should update as soon as one quarter ends to show the previous quarter's revenue sum multipled by 4. So as of right now, the formula should return all Q1 revenue multipled by 4. Once July hits and Q3 begins, it should be calculating all Q2 revenue multiplied by 4.Thanks!
Solved! Go to Solution.
Hi @Anonymous
“the formula should return all Q1 revenue multipled by 4. Once July hits and Q3 begins, it should be calculating all Q2 revenue multiplied by 4”
Do you mean calculate three months of all quarter for revenue?
I make a test as follows, "measure" uses your formula, and "measure2" uses the following formula.
Measure 2 =
CALCULATE (
SUM ( Sheet1[value] ),
FILTER (
ALL ( Sheet1 ),
( Sheet1[date] <= MAX ( [date] ) )
&& MONTH ( Sheet1[date] ) = MONTH ( Sheet1[date] )
)
)
* 4
Best Regards
Maggie
Hi @Anonymous
“the formula should return all Q1 revenue multipled by 4. Once July hits and Q3 begins, it should be calculating all Q2 revenue multiplied by 4”
Do you mean calculate three months of all quarter for revenue?
I make a test as follows, "measure" uses your formula, and "measure2" uses the following formula.
Measure 2 =
CALCULATE (
SUM ( Sheet1[value] ),
FILTER (
ALL ( Sheet1 ),
( Sheet1[date] <= MAX ( [date] ) )
&& MONTH ( Sheet1[date] ) = MONTH ( Sheet1[date] )
)
)
* 4
Best Regards
Maggie
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
99 | |
82 | |
70 | |
60 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |