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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
felipereis50
Frequent Visitor

I don't want to show Maxx value on totals

Hi friend, 
Anyone knows how to adjust this measure?

felipereis50_0-1690640851453.png

My first measure is

TopN_Vendas =
CALCULATE(
        [#vlr_contabil],
            KEEPFILTERS(TOPN(7,ALL(fDados[DESCRICAO (#1)]),[#vlr_contabil])))



My MAXX measure is:

MAXX_Vendas =
var maxx_var = MAXX(fDados,
        CALCULATE(
                [#vlr_unit_item]))
RETURN
IF([TopN_Vendas] = BLANK(), BLANK(), maxx_var)



1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @felipereis50 
Please try

MAXX_Vendas =
IF (
    [TopN_Vendas] <> BLANK ()
        && HASONEVALUE ( fDados[SKU] ),
    MAXX ( fDados, [#vlr_unit_item] )
)

 

 

View solution in original post

1 REPLY 1
tamerj1
Super User
Super User

Hi @felipereis50 
Please try

MAXX_Vendas =
IF (
    [TopN_Vendas] <> BLANK ()
        && HASONEVALUE ( fDados[SKU] ),
    MAXX ( fDados, [#vlr_unit_item] )
)

 

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.