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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
akih1to
New Member

Filter/Summarize Date with Start and End Date via 2 Tables

Hello Everyone,

 

I'm relatively new to Power BI, I'm wondering if I can make a measure of summarized date per specific critieria.

 

To give a thought, I have 2 tables containing the start and end date of a criteria and the other just the date table (starting Jan 1, 2022 - current date).

 

What I want to happen is that my line graph would only contain the monthly sales of that specific criteria from its start to end date.

 

Thanks!

1 ACCEPTED SOLUTION

I have solved a similar problem in the attached file.  Please review the measures used there and apply them to your data/file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

3 REPLIES 3
akih1to
New Member

Hello Ashur,

 

Sorry about that

 

Outcome is below and the table, the other table is just a normal date table starting from 1/1/2023.

I would want that the line graph would show the start and end date only of that specific criteria (I filtered the outcome below just to show what it is), currently my date is always starting at Jan 2023 because it is what my x-axis currently has.

 

Thanks!

 

asd.jpg

 

Start DateEnd DateCriteria
01/16/202401/16/2025A
05/01/202305/01/2024B
07/01/202307/01/2024C
09/01/202309/01/2024D
09/01/202309/01/2024E
09/01/202309/01/2024F
08/16/202308/16/2024G
08/16/202308/16/2024H
01/01/202401/01/2025I
01/01/202401/01/2025J
01/01/202401/01/2025K
01/01/202401/01/2025L
01/01/202401/01/2025M
09/01/202309/01/2024N
01/01/202401/01/2025O
01/01/202401/01/2025P
01/01/202401/01/2025Q
05/01/202305/01/2024R
01/01/202401/01/2025S
09/01/202309/01/2024T
01/01/202401/01/2025U
01/01/202401/01/2025V
01/01/202401/01/2025W
01/01/202401/01/2025X
01/01/202401/01/2025Y
01/01/202401/01/2025Z
01/01/202401/01/2025A1
01/01/202401/01/2025B1
01/01/202401/01/2025C1
01/01/202401/01/2025D1
01/01/202401/01/2025E1
01/01/202401/01/2025F1
01/01/202401/01/2025G1
01/01/202401/01/2025H1
01/01/202401/01/2025I1
01/01/202401/01/2025J1
01/01/202401/01/2025K1
01/01/202401/01/2025L1
01/01/202401/01/2025M1
01/01/202401/01/2025N1
10/01/202310/01/2024O1
02/01/202402/01/2025P1
10/01/202310/01/2024Q1
06/01/202306/01/2024R1
06/01/202306/01/2024S1
03/01/202403/01/2025T1
02/01/202402/01/2025U1
08/16/202308/16/2024V1
08/01/202308/01/2024W1
08/01/202308/01/2024X1
06/01/202306/01/2024Y1
03/01/202403/01/2025Z1
03/01/202403/01/2025A2
04/01/202304/01/2024B2
05/16/202305/16/2024C2
08/01/202308/01/2024D2
10/01/202310/01/2024E2

I have solved a similar problem in the attached file.  Please review the measures used there and apply them to your data/file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Ashish_Mathur
Super User
Super User

Hi,

Share data in a format that can be pasted in an MS Excel file.  Show the expected result very clearly.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Solution Authors
Top Kudoed Authors