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
StefanoGrimaldi
Resident Rockstar
Resident Rockstar

Power Bi Dax Help

hey guysm I have this formula: 

.Saldo Ejecutado Indicadores / Saldo Ingresos =
DIVIDE(
    [.Saldo Ejecutado Indicadores],
    CALCULATE(
        [.Saldo Ejecutado Indicadores],
        ALL('Indicadores Financieros'[Indicador]),
        'Indicadores Financieros'[Categoria de cuenta] = "4. Ingresos"
    )
)
 
basically Im trying to make it ignore the filter given on a matrix visual when u add the row fields like the denominator only to be affected by the column but not the row filter. 
 
any help much appreciated. 




Did I answer your question? Mark my post as a solution! / Did it help? Give some Kudos!

Proud to be a Super User!




1 ACCEPTED SOLUTION
PijushRoy
Super User
Super User

Hi @StefanoGrimaldi 

Please try below code

DIVIDE(
    [.Saldo Ejecutado Indicadores],
    CALCULATE(
        [.Saldo Ejecutado Indicadores],
        REMOVEFILTER('Indicadores Financieros'[Indicador]),
        'Indicadores Financieros'[Categoria de cuenta] = "4. Ingresos"
    )
)

 

If your requirement is solved, please make sure to MARK AS SOLUTION and help other users find the solution quickly. Please hit the LIKE button if this comment helps you.

Thanks
Pijush

View solution in original post

4 REPLIES 4
PijushRoy
Super User
Super User

Hi @StefanoGrimaldi 

Please try below code

DIVIDE(
    [.Saldo Ejecutado Indicadores],
    CALCULATE(
        [.Saldo Ejecutado Indicadores],
        REMOVEFILTER('Indicadores Financieros'[Indicador]),
        'Indicadores Financieros'[Categoria de cuenta] = "4. Ingresos"
    )
)

 

If your requirement is solved, please make sure to MARK AS SOLUTION and help other users find the solution quickly. Please hit the LIKE button if this comment helps you.

Thanks
Pijush

nop, still same behaviour its dividing by the grand total as if its ignoring the column filter. 





Did I answer your question? Mark my post as a solution! / Did it help? Give some Kudos!

Proud to be a Super User!




never mind it worked, need to change a column was using the wrong one, thanks 





Did I answer your question? Mark my post as a solution! / Did it help? Give some Kudos!

Proud to be a Super User!




@StefanoGrimaldi 
You are welcome

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.