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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
pavanmanideep
Helper III
Helper III

Filtering data with dates from multiple tables using a single date slicer

Hi Experts,

 

I am facing an issue, here is the brief description of the issue I am facing

 

I have a date table D1 created from calendar function. I have a date slicer pointing to this date table. I have two custom tables C1 and C2 with 3 call log date fields from C1 itself and one actual end date in C2.  I want to show the data from both custom tables in table visual when any of dates either in C1 or C2 fall under the date selected in the date slicer.

 

I tried to get the start and end dates of the date slicer, and calculate the difference between the dates from slicer with the dates from C1 or C2 custom table, but it dont seem to work and differences show wrongly. Please note that I dont have relationship with my custom tables and date table.

 

I am checking from past 2 days without any clue. Appreciate if any one can assist in this, do let me know if you require any addional details.

 

Cheers,

PMDY

2 REPLIES 2
pavanmanideep
Helper III
Helper III

Hi @ryan_mayu 

 

I am attaching the table visual, I want to filter the Call Attempt Date 1, Call Attempt Date 2, Call Attempt Date 3 from one table, Actual End from another table when these dates fall under the date selected in the date slicer. All were date time fields.

 

pavanmanideep_0-1718949775360.png

I tried to use something like this with one date for ex:  IsDateInBetween =
VAR CheckMinDate = DATE(YEAR(MIN('Date'[Date])), MONTH(MIN('Date'[Date])), DAY(MIN('Date'[Date])))

VAR CheckMaxDate = DATE(YEAR(MAX('Date'[Date])), MONTH(MAX('Date'[Date])), DAY(MAX('Date'[Date])))
RETURN
IF (
('shs_followupcalllog'[shs_calldate]) > CheckDate && 'shs_followupcalllog'[shs_calldate]) <= CheckDate ,
1,
0
), but it dont give me correct result. 

 

Could you please suggest on this.

 

Thank you.

 

Cheers,

PMDY

ryan_mayu
Super User
Super User

could you pls provide some sample data and expected output?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.