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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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