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 Community,
I have the data as diagram below :
I have tried to calculate commission for each Agent_name with :
I expected it to return 2000 for FB_Agent_1 commission
and 1500 for TW_Agent_1 commission
Have no success with sumx and values, please suggest how to do that without merge table with power query.
Solved! Go to Solution.
Hi,
Please check the below picture and the attached pbix file.
It is for creating a measure.
Commission total measure: =
SUMX('Fact', RELATED(Dim[Commission]))
Hi,
Please check the below picture and the attached pbix file.
It is for creating a measure.
Commission total measure: =
SUMX('Fact', RELATED(Dim[Commission]))
It's work.
Thanks a lot.