The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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.