Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi,
I have created 2 measures for the cumulative sales. 1 for Previous fiscal year and 1 for Current Fiscal year for the completed months. At the moment March is still not completed that's why this is not in scope of the line for Current fiscal year. I would like to end this line after the last completed month, but I do not know how. Can you help me? See my formula below!
My result now is shown here:
My desired result should be:
Formula Current Fiscal Year:
Hi @FreemanZ
This formula gives the following error: Too few arguments were passed to the IF function. The minimum argument count for the function is 2.
Sorry, try like:
Measure =
IF(
MAX('Calendar Posting Date'[Date])<=MAX(Append3[Date]),
[Current Fiscal Year Cumulative Sales for completed months]
)
forgot to close the bracket.
@FreemanZ
I have also tried the following formula:
hi @JC2022
try to plot a measure like this instead:
Measure =
IF(
MAX('Calendar Posting Date'[Date]<=MAX(Append3[Date]),
[Current Fiscal Year Cumulative Sales for completed months]
)
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
25 | |
21 | |
20 | |
14 | |
13 |
User | Count |
---|---|
43 | |
37 | |
25 | |
24 | |
23 |