March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Lets say we have a data set which has "year" among other dimensions (not the datetime - year as integer), and visual built upon this dataset. We also have a calendarauto() based slicer which allows us to select year and filter displayed data. Visual's dataset is NOT linked to calendarauto() table.
Is there any way to create a link between the slicer and this visual, so selecting year on the slicer would filter the data?
Hi @Anonymous ,
You can create a YEAR column in Calendar Date table. Then use this column to establish a relationship between you data-set and Date table.
This will make slicers work the way you are looking for.
If this helps and resolves the issue, appreciate a Kudos and mark it as a Solution! 🙂
Thanks,
Pragati
Relationships are out of question because of the dreaded "circular relationship" error. We just cannot create them when needed.
Hi @Anonymous ,
Is there an existing relationship betwwen your Date table and data-table? Or are these individually connected to any other table?
Can you try pasting a screenshot of the data model with relationships in Power BI here?
If this helps and resolves the issue, appreciate a Kudos and mark it as a Solution! 🙂
Thanks,
Pragati
There is no relationship (within the model).
Hi @Anonymous ,
Can you paste your sample data here, along with the datatypes the columns have in both tables?
Thanks,
Pragati
I cannot post the sample data because, if I only recreate 2 tables the answer would be "create a relationship". But as I've already mentioned above, creating relationship is out of question because this would create circular relationships.
The question is rather simple. There is a CALENDARAUTO() - based slicer that lets you select years. There is also a table that has a "year" column (integer) and other data, and visual built using this table. The goal is: slicer should filter the visual.
I cannot even reproduce this configuration in actual file. In your example, CALENDARAUTO-based table has no year/quarter/month fields - somehow, because in real file it is impossible to remove fields or edit CALENDARAUTO() hierarchy in any way.
How did you delete hierarchy from calendarauto?
Hi,
It is because i created relationship between them which will break the calendar hierarchy.
Please check my attached file again.
Best Regards,
Giotto
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
129 | |
90 | |
75 | |
58 | |
53 |
User | Count |
---|---|
200 | |
104 | |
101 | |
67 | |
55 |