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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
pedroaraldi
New Member

Time intelligence

Hi,

 

i'm having a bit of an issue with a table that contains two dates.

 

REPORT DATESKUQUANTITYRELEASE DATE

 

My table is organized as above, every day we receive a report from the quality team informing us which SKUs will be released and when they will be released.

My problem is that I want to sum the quantity that will be released in the next 7 days (for example) but when I use DATESBETWEEN it is considering all quantities released in the next 7 days despite the report date. Can someone help me out?

1 REPLY 1
AlB
Community Champion
Community Champion

Hi @pedroaraldi 

You need to explain how the report date affects the result. Best share a sample of your model/data, showing the wrong result you are getting an the desired result (and the logic for it).

Plus the code you are currently using for that sum   

 

SU18_powerbi_badge

Please accept the solution when done and consider giving a thumbs up if posts are helpful. 

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors