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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.