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
Anonymous
Not applicable

How to get report to show if a date is past another date?

HI, 

 

I was wondering how i could get my powerbi to show only values if they are past another date: 

 

ie. only show values if Estimated delivery date is greater than customer required date

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

I think you can create another measure. Here is the DAX code.

Measure 2 = IF('Table'[Measure]="Over",BLANK(),'Table'[Measure])

Then you will get the "In" state and you will not see the "Over" state.

vyilongmsft_0-1712907189933.png

 

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

thank you!

 

What is the customer required date is blank? As sometimes I dont have a date and wont want it showing up in the report.

Anonymous
Not applicable

Hi @Anonymous ,

I think you can create another measure. Here is the DAX code.

Measure 2 = IF('Table'[Measure]="Over",BLANK(),'Table'[Measure])

Then you will get the "In" state and you will not see the "Over" state.

vyilongmsft_0-1712907189933.png

 

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Hi  @Anonymous ,

Your solution is great, @amitchandak. It worked like a charm! Here I have another idea in mind, and I would like to share it for reference.

I create a table as you mentioned.

vyilongmsft_2-1712295235907.png

Then I create a measurand get what you want.

Measure =
IF (
    MIN ( 'Table'[Estimated Delivery Date] )
        > MIN ( 'Table'[Customer Required Date] ),
    "Over",
    "In"
)

vyilongmsft_3-1712295384315.png

 

 

 

Best Regards

Yilong Zhou

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

@Anonymous , you can create a measure and use that in the visual or visual-level filter

 

calculate(Sum(Table[Value]), filter(Table, Table[Estimated delivery] > Table[customer required date] ) )

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
Top Kudoed Authors