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
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
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.

Top Solution Authors
Top Kudoed Authors