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.
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:
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:
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
Solved! Go to Solution.
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)
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)
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
101 | |
86 | |
64 |