Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
tanat_inc
Helper II
Helper II

Sum of value in Dimension Table, with count from fact table

Hi Community, 

 

I have the data as diagram below :

 

tanat_inc_0-1656435494839.png

 

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.

1 ACCEPTED SOLUTION
Jihwan_Kim
Super User
Super User

Hi,

Please check the below picture and the attached pbix file.

It is for creating a measure.

 

Untitled.png

 

Commission total measure: = 
SUMX('Fact', RELATED(Dim[Commission]))

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

View solution in original post

2 REPLIES 2
Jihwan_Kim
Super User
Super User

Hi,

Please check the below picture and the attached pbix file.

It is for creating a measure.

 

Untitled.png

 

Commission total measure: = 
SUMX('Fact', RELATED(Dim[Commission]))

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

It's work.

Thanks a lot.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors