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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
quinnjohnson
Helper I
Helper I

When filtering relative date slicer by "Next" and a time period, my visuals just show blank?

I have some insurance policies that have expiration dates in the future and i would like to have a card visual that shows how many are set to expire "in the next 1 calendar month/1 calendar year/1 calendar week/etc." but it only shows a blank when i selected any dates in the future. The data is completely accurate when showing dates in the past like "last 1 month" i have combed the dataset and have confirmed that. 

 

I have been using this DAX measure to get the data:

 

CY Expirations = CALCULATE( SUM('dim_PolicyControlNo_Basics'[Expiration Count]),
USERELATIONSHIP(dim_PolicyControlNo_Basics[PolicyExpirationDate_ID], Dates[Date_ID]),
FILTER(ALLSELECTED(Dates), Dates[Date] <= MAX(Dates[Date])))
 
My expiration count column is just a 1 or a 0 if the policy has an expiration date (they all do so every row in the column is a 1). Am i doing something wrong? Why would this work perfectly for every date today and prior but not the future?
1 ACCEPTED SOLUTION
TheoC
Super User
Super User

Hi @quinnjohnson 

 

This might be a silly question on my part but what is the maximum / last date you have incorporated into your Date table?   It could be that the maximum date in the Date table is less than the future periods the measure is attempting to return.  

 

If this isn't it, could you provide an example of the Data Model / Data Set?

 

Thanks heaps,

Theo

If I have posted a response that resolves your question, please accept it as a solution to formally close the post.

Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!

Want to connect?www.linkedin.com/in/theoconias

View solution in original post

3 REPLIES 3
TheoC
Super User
Super User

Hi @quinnjohnson 

 

This might be a silly question on my part but what is the maximum / last date you have incorporated into your Date table?   It could be that the maximum date in the Date table is less than the future periods the measure is attempting to return.  

 

If this isn't it, could you provide an example of the Data Model / Data Set?

 

Thanks heaps,

Theo

If I have posted a response that resolves your question, please accept it as a solution to formally close the post.

Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!

Want to connect?www.linkedin.com/in/theoconias

YOU GENIUS!!!!! That is the issue thank you so much!

@quinnjohnson you're making me blush LOL! No one has ever called me that before haha. In all honesty, it's something I have literally done myself when I first started using Power BI.  All part of the learning journey 🙂  

 

All the best with it mate! 

If I have posted a response that resolves your question, please accept it as a solution to formally close the post.

Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!

Want to connect?www.linkedin.com/in/theoconias

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