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.
Hi All!
I would like to seek for your help on the following Issue:
PROBLEM:
What i want:
How i got the result:
1. Hierachy: Scheme -> D(No.) -> Code
2. Calculate Commission by the follow DAX:
com15:=CALCULATE(IF(SUM([AMT.NO.INSUR])>=5000,SUM([AMT.NO.INSUR])*0.07,SUM([AMT.NO.INSUR])*0.05),DISB[COMID]=15)
After that use Switch function to determine which Code ,Dealer belong to SchemeID.
Please refer to the attached file for your information: EXCEL FILE
Basically What i want are:
Scheme = Sum of all D(No.)
D(No.) = Some time just Sum of all Code, Some time with SUM IF CONDITION,
Code = SUM IF CONDITION as dax showing above
Please guide me what i need to do to achive it. Thank you so much for your help. 🙂
anyone?
User | Count |
---|---|
27 | |
12 | |
8 | |
8 | |
5 |
User | Count |
---|---|
31 | |
15 | |
12 | |
7 | |
6 |