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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
arpit_dhawan
Regular Visitor

National Sum of commission not working when selecting 2 or more office countries

Hi All,

 

I have attached 3 screenshots for reference.

 

The thing is I want to calculate and show the national sum of commission against each office. There are 2 more parameters which are to be considered (Partner Tag and Intake) which are both Text type columns.

 

Now the thing is that the measure that I have created is working fine till the time that the selection has only one Office Country selected. As soon as I select one more country, the national sum aggregates the commission for both the countries and then displays that.

 

I want it to show the same number even if multiple countries are selected.


Measure: 

CALCULATE(
        SUM(tblStudentApplications[Commission]),
        REMOVEFILTERS(tblStudentApplications[Office Name]),
        ALLSELECTED(tblStudentApplications[Office Country],tblStudentApplications[Intake],tblStudentApplications[Partner Tag])
    )
 
Correct ones: 
 
arpit_dhawan_0-1742560918282.pngarpit_dhawan_1-1742560928791.png

 

 

The aggregation:

arpit_dhawan_2-1742560944323.png

 

4 REPLIES 4
v-kathullac
Community Support
Community Support

Hi @arpit_dhawan  ,

we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?

If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.

Regards,

Chaithanya.

v-kathullac
Community Support
Community Support

Hi @arpit_dhawan  ,

we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?

If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.

Regards,

Chaithanya.

v-kathullac
Community Support
Community Support

Hi @arpit_dhawan  ,

we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?

If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.

Regards,

Chaithanya.

johnt75
Super User
Super User

Try

CALCULATE (
    SUM ( tblStudentApplications[Commission] ),
    REMOVEFILTERS ( tblStudentApplications[Office Name] ),
    SUMMARIZE (
        tblStudentApplications,
        tblStudentApplications[Office Country],
        tblStudentApplications[Intake],
        tblStudentApplications[Partner Tag]
    )
)

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.