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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
hel64
New Member

Date filters

I have 2 fact tables one actuals with a granularity of daily and one targets with a granularity of monthly. Each is linked to a different Dim_Date table to maintain active relationships in the data model. Each date table has a slicer filter visual which respectively controls the actual and targets figures which both reside in a table visualisation. My question is 'Can the two date slicers be 'synched' so that when one of the date slicer months is changed the other date slicer month is automatically changed to the same month. eg so the May 2020 target figures appear with the May 2020 actual figures in the table?

1 ACCEPTED SOLUTION
v-juanli-msft
Community Support
Community Support

Hi @hel64 

Two answers above provide useful suggestions, is your problem sloved?

If not, you could try:

assume you have two date table, one is like date1: 2020/5/1  2020/5/2

another is like date2: May 2020  June 2020

You could add column in date1 like:

[month_year]=format(date1[date],"Mmmm YYYY")

Then create a relationship as below:

Capture7.JPGCapture8.JPG

Download my pbix to see more details

https://qiuyunus-my.sharepoint.com/:u:/g/personal/admin_qiuyunus_onmicrosoft_com/EbswFaut3TlOmgTk-u6...

 

Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

3 REPLIES 3
v-juanli-msft
Community Support
Community Support

Hi @hel64 

Two answers above provide useful suggestions, is your problem sloved?

If not, you could try:

assume you have two date table, one is like date1: 2020/5/1  2020/5/2

another is like date2: May 2020  June 2020

You could add column in date1 like:

[month_year]=format(date1[date],"Mmmm YYYY")

Then create a relationship as below:

Capture7.JPGCapture8.JPG

Download my pbix to see more details

https://qiuyunus-my.sharepoint.com/:u:/g/personal/admin_qiuyunus_onmicrosoft_com/EbswFaut3TlOmgTk-u6...

 

Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

amitchandak
Super User
Super User

@hel64 , You can have month start or the month end date in month table using month. example

 

Month is in format - May-2020// Mark Data Type as date

 

Date = "01-"&[Month]

 

Month is in format - YYYY-mm

 

Date = Date(left([Month],4),right([Month],2),1)  // Mark Data Type as date

 

You can now join both tables to same date table

 

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
edhans
Super User
Super User

why do you have two date tables? Why not just one? The date table doesn't care that there is a FACT table with daily granularity and another FACT table with monthly granularity? Plus, you cannot mark both as Date Table, and you lose some of the benefits of a date table not marked as a date table.

 

I do not think you can sync the slicers the way you want. Sync Slicers functionality is for slicers on different pages of  your report to keep the same fields in sync, not different tables.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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