Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi
I have a data table which contains column headers Fiscal Year, Net revenue. Data is available for July-18 and Jul-19 in the same table,How do I get subtotals for each fiscal year as measure by using DAX.
Hi sayantan4336,
I hope this formula will help for you:
Previous year=CALCULATE(SUM(netrevenue column, PREVIOUSYEAR('DateTime'[DateKey]))
Current year=CALCULATE(SUM(netrevenue column,YEAR('datetime[datekey]=YEAR(TODAY()))
Cheers,
Pratima
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
7 | |
7 | |
6 | |
6 |
User | Count |
---|---|
27 | |
12 | |
10 | |
9 | |
6 |