Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!See when key Fabric features will launch and what’s already live, all in one place and always up to date. Explore the new Fabric roadmap
Hi,
My requirement is get to full year total of selected month or each month like below report, Could anyone help in achieving this.
Thanks,
Ashok Kumar M
Solved! Go to Solution.
You may need a calendar table and measures as below.
currentYearSales = CALCULATE(SUM(yourTable[sales]),ALLEXCEPT('calendar','calendar'[Date].[Year])) lastYearSales = CALCULATE(SUM(yourTable[sales]),FILTER(ALL('calendar'),'calendar'[Date].[Year]=MAX('calendar'[Date].[Year])-1))
See more details in the attached pbix file.
You may need a calendar table and measures as below.
currentYearSales = CALCULATE(SUM(yourTable[sales]),ALLEXCEPT('calendar','calendar'[Date].[Year])) lastYearSales = CALCULATE(SUM(yourTable[sales]),FILTER(ALL('calendar'),'calendar'[Date].[Year]=MAX('calendar'[Date].[Year])-1))
See more details in the attached pbix file.
User | Count |
---|---|
14 | |
3 | |
2 | |
2 | |
2 |
User | Count |
---|---|
9 | |
3 | |
2 | |
2 | |
2 |