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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
MattWoodley
New Member

Return blank values based where measure has a value greater than the x axis.

Hi, 
 
I am trying to return Blank values for the 'Pool Origination' measure where the 'Max Term 1' measure is greater than the term run on the x axis 'Term Run'[Term Run]
MattWoodley_0-1658463133079.png

I've tried a bunch of different options but none seem to work... The two related measures are below. 

 

Appreciate any ideas.

 

Pool Origination = CALCULATE (

SUM('Unique Account Numbers'[Amount Financed]),
ALLSELECTED('Term Run'[Term Run])
)
 
Max Term 1 =
 CALCULATE (
    MAX('Unique Account Numbers'[Term Run]),
    ALLSELECTED('Term Run')
    )
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@MattWoodley , based on what I got

 

if(max('Term Run'[Term Run]) > calculate(MAx('Term Run'[Term Run]), allselected()) ,blank(), max('Term Run'[Term Run]))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
v-kkf-msft
Community Support
Community Support

Hi @MattWoodley ,

 

Please try the measure.

 

Pool Origination = 
VAR _sum =
    CALCULATE (
        SUM ( 'Unique Account Numbers'[Amount Financed] ),
        ALLSELECTED ( 'Term Run'[Term Run] )
    )
RETURN
    IF ( MAX ( 'Term Run'[Term Run] ) >= [Max Term 1], _sum )

vkkfmsft_0-1658815841977.png

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@MattWoodley , based on what I got

 

if(max('Term Run'[Term Run]) > calculate(MAx('Term Run'[Term Run]), allselected()) ,blank(), max('Term Run'[Term Run]))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors