Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
I am looking for a formula that will give me a YTD average based off a selected month. Currently I just have it setup to show me the YTD based off the fiscal year. We would like to be able to pick a month and show YTD from that month going back to the start of our fiscal year. My current formula is this
TONS average per DATE =
AVERAGEX(
KEEPFILTERS(VALUES('MILL PERFORMANCE'[DATE])),
CALCULATE(SUM('MILL PERFORMANCE'[TONS])). I am not sure what i need to change so that when I pick a certain month it will give me the average for that month and the previous months in that fiscal year?
Hi @jbenson
Is there a calendar table in the model? Can you share a sample file, I would like to try it.
I think i got it figured out thank you for your help though!
User | Count |
---|---|
141 | |
113 | |
104 | |
77 | |
64 |
User | Count |
---|---|
135 | |
123 | |
101 | |
71 | |
61 |