Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
Hi,
I have a table with dates and an amount column.
I want to create a dax measure that shows me the following:
1) Measure One: Previous Years = Sum of Amount for ALL dates before current year
2) Measure 2: Current Year = Sum of Amount for ALL dates FOR the current year.
I want it to be dynamic so next year, the currennt year will become previous year. etc
I THINK i have it covered for current year, (calculated YTD) but I can't find the function for summing up ALL previous years not just the most recent one.
Solved! Go to Solution.
Hi Joseph,
Please try below DAX
CurrentYearSales/AllpreviousYearSales =
Appreciate a Kudos!
If this helps and resolves the issue, please mark it as a Solution!
Regards,
N V Durga Prasad
Hi Joseph,
Please try below DAX
CurrentYearSales/AllpreviousYearSales =
Appreciate a Kudos!
If this helps and resolves the issue, please mark it as a Solution!
Regards,
N V Durga Prasad
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
72 | |
71 | |
70 | |
42 | |
42 |
User | Count |
---|---|
49 | |
42 | |
29 | |
28 | |
26 |