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
patri0t82
Post Patron
Post Patron

Include values leading up to and including Date selected

I have a measure in Power BI:

 

 

Q3 Mechanical Availability = 
CALCULATE(
    IF(
        ISBLANK( SELECTEDVALUE( 'Operational - Mechanical Availability'[Quarterly Average] ) ), 
        BLANK(), 
        SELECTEDVALUE( 'Operational - Mechanical Availability'[Quarterly Average] )
    ),
    CONTAINSSTRING('Operational - Mechanical Availability'[Quarter], "Q3")
)

 

 

The table  'Operational - Mechanical Availability' has a [Date] column connected to CalendarTable[Date].

 

I have a dropdown slicer for CalendarTable[Month Name]. So, when I select "July" (or August, or September), this measure shows me the [Quarterly Average] for any of those months.

 

The problem is, if I select December, this measure displays Blank(), as it is currently built. Because these [Dates] are BEFORE December I would like them to appear.

 

If I select March, this measure should be Blank()

1 ACCEPTED SOLUTION
patri0t82
Post Patron
Post Patron

Thank you but I think the most effective solution is to just Edit the Interactions and their connections. 

View solution in original post

1 REPLY 1
patri0t82
Post Patron
Post Patron

Thank you but I think the most effective solution is to just Edit the Interactions and their connections. 

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