The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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]) )
User | Count |
---|---|
13 | |
8 | |
6 | |
6 | |
5 |
User | Count |
---|---|
24 | |
14 | |
13 | |
8 | |
8 |