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 have dashboard built off underlying excel spreadsheets which have ytd expenditures and forecasted expenditures future month expenditures. I have pulled this into a table that also includes 2018 actuals. I'm trying to create a dax measure that calculates the sum of expenditures only for the current year. I have the following formula, which works, but I'm prefer it to be dynamic, so next year I don't have to re-write it for the following year's dates
[Calculated Expenditures and Forecast] = sum of my expenditures and forecast column
@Anonymous
There are many ways to specify the current year. One way is to use the values of your date dimension table in the year colume with a measure like:
Proud to be a Super User!
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 |