Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I'm trying to calculate each salespersons target for Nov 2020 - Oct 2021, from which I want to be able to compare their sales v target.
I have been provided the below table with their monthly targets.
I've tried this DAX to create a calculated column to try and calculate their total, filtering by their unique ASM number. But don't really understand it.
Solved! Go to Solution.
@JR_Lee , do want to calculate Average , otherwise 'ASM Target'[ASM No.] is not going to add any value to sum
Target 1 YTD = TOTALYTD(AverageX(values('ASM Target'[ASM No.]) , calculate(sum('ASM Target'[Target])) , 'Date'[Date]) )
@JR_Lee , do want to calculate Average , otherwise 'ASM Target'[ASM No.] is not going to add any value to sum
Target 1 YTD = TOTALYTD(AverageX(values('ASM Target'[ASM No.]) , calculate(sum('ASM Target'[Target])) , 'Date'[Date]) )