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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
tbalci
New Member

Date Table - Slicer not updating visuals

Hello,

 

I have a setup with two tables:

 

[1] Case Data: As the name hints, it contains data for support cases. It has the fields case ID (unique), product, severity, date created etc.
[2] Date: It is a calendar/date table and has the following columns:

  • Date: Date = CALENDAR(DATE(2015;01;01);DATE(2020;12;31))
  • Year: Year = YEAR('Date'[Date])
  • Month: Month = MONTH('Date'[Date])
  • Quarter: Quarter = VALUE ( FORMAT ('Date'[Date]; "Q" ) )

 

The two tables are linked as Date (Date table) - Date Created (Case Data) table as follows. The relationship is one-to-many because on one day more than one case can be created:

 

Relationship.PNG

 

 

In the report view, I created a slicer with Year and had a visual to show count of case number for that year and a matrix to show the number of cases logged for a specific product for each severity level. I checked the interactions and see that the slicer is connected to both the visual and the matrix.

 

The issue is, when I change the slider, the visual and the matrix is not updated. Both show only the total values no matter how the slider changes.

 

Can you help me see what I am doing wrong?

 

Thank you.

 

PBIX file: https://www.dropbox.com/s/sgin5h5xmtkqrp1/Case%20Data.pbix?dl=0

 

1 ACCEPTED SOLUTION
Zubair_Muhammad
Community Champion
Community Champion

@tbalci

 

Actually your Datecreated column is formatted as DateTime   while CalendarDate is a Date

Please see your revised file attached

Now it works

 

 

I created a new column and used this for relationship with Calendar Table

 

Date for relationship = TRUNC([Date Created],0)

 


Regards
Zubair

Please try my custom visuals

View solution in original post

2 REPLIES 2
Zubair_Muhammad
Community Champion
Community Champion

@tbalci

 

Actually your Datecreated column is formatted as DateTime   while CalendarDate is a Date

Please see your revised file attached

Now it works

 

 

I created a new column and used this for relationship with Calendar Table

 

Date for relationship = TRUNC([Date Created],0)

 


Regards
Zubair

Please try my custom visuals

Hi Zubair,

 

Thank you very much. I am testing this on my internal setup and it is working.

 

Just wanted to let you know that the key element in your solution is the TRUNC function. Even if I make the two columns the same format, the slicer does not work. Once I use the TRUNC function and connect the two tables, then it works.

 

Thank you once again.

 

Regards,

Tolga

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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