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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
ryan_b_fiting
Post Patron
Post Patron

SUM data based on secondary dates and ignoring date filter

Hello Community - 

I have a basic dataset that gives me a wireless number, billing cycle date, activation date, device change date, benchmark date and data usage.

ryan_b_fiting_0-1675699490427.png

 My model for this issue joins the Overview of lines (the data listed above) to the date table by the billing cycle date.  What I am trying to do is calculate how much data was used based on the wireless numbers benchmarck date without the date table slicer affecting it.

 

In the screenshot above, you can see the first 6 lines are providing what I would expect (March benchmark date, pulling in the March data usage because March is selected in the slicer).  However, line 7 and beyond are all showing blank because their benchmark date is not in March.

 

I want those blank lines to show the data usage based on the billing cycle date that = my benchmark date (first blank line would have data usage from Jan 2022 etc).

 

Here is my current Measure

Benchmark Usage = CALCULATE(
    [Total Data Usage],
    FILTER(ALL(Date_Table), Date_Table[Date] = MAXX('Overview of Lines','Overview of Lines'[Benchmark Date]) ) )  

 What am I missing to get this measure to work?

 

Thanks Community

Ryan

0 REPLIES 0

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.