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.
I have a dashboard with work orders that are scheduled, closed and a running total by fiscal year...a 10 year trend. How can I limit the trend to only show me scheduled work to current fiscal year and previous 10? Right now, it's showing scheduled work orders way out in the future. Is there a formula to show ONLY scheduled and closed for the last 10 fiscal years? Help needed!
Solved! Go to Solution.
Hi @72_tam ,
I created some data:
Here are the steps you can follow:
1. Create measure.
Flag =
var _today=TODAY()
return
IF(
MAX('Table'[Date].[Year])>=YEAR(_today)-10&& MAX('Table'[Date].[Year])<=YEAR(_today),1,0)
2. Place [Flag]in Filters, set is=1, apply filter.
3. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @72_tam ,
I created some data:
Here are the steps you can follow:
1. Create measure.
Flag =
var _today=TODAY()
return
IF(
MAX('Table'[Date].[Year])>=YEAR(_today)-10&& MAX('Table'[Date].[Year])<=YEAR(_today),1,0)
2. Place [Flag]in Filters, set is=1, apply filter.
3. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
This is how I clculated running total
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
11 | |
8 | |
7 |