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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Multiple ALLEXCEPT for different tables

Dears,

I have a report in where I need to show the total budget amount for the full year (ignoring months), and I also need to be able to filter between each area that is responsible for each expense.

 

In order to do that I've came up with the following measure:

 

CALCULATE(
    SUM(BUDGET[AMOUNT]);
    BUDGET[TYPE] = "B";
    ALLEXCEPT(CC_OWNERS; CC_OWNERS[COST CENTER_OWNER]);
    ALLEXCEPT(BUDGET_PRIMES; BUDGET_PRIMES[EXPBUD.PRIME_DESC]);
    ALLEXCEPT(BUDGET; BUDGET[MONTH-YEAR])
)

 

However it is not working, since when I click in the filter that I would like to do (COST CENTER_OWNER and EXPBUD.PRIME_DESC) the context does not change.

3 REPLIES 3
aceremin
Frequent Visitor

Hi everyone,

 

I am having the same issue that in this topic apparently had no solution.

 

This is my case:

 

Tiempo_disp_Planta = CALCULATE

          (SUM(v_Partes[MinutosDisponibles]);

          ALLEXCEPT(v_Partes; v_Partes[NLinea]);

          ALLEXCEPT(v_ParadasxParte;v_ParadasxParte[NOEECategoria1]))

 

In a first step, I just used ALLEXCEPT(v_Partes; v_Partes[NLinea]) and everything went fine.

When I added ALLEXCEPT(v_ParadasxParte;v_ParadasxParte[NOEECategoria1]), the first ALLEXCEPT stopped working (as if it had been overwritten by the second one).

 

Could anyone help me?

Thanks a lot in advance.

v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous ,

Have you solved your problem?

If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

If you still need help, please share some data sample and your desired output.

Best  Regards,

Cherry

 

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous ,

By my tests, I cannot reproduce your issue.

If it is convenient, could you share some data sample which could reproduce your issue so that we could help further on it?

Best Regards,

Cherry

 

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.