Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I have two data from two seperate excel tables:
1. Statistics Sheet:
2. Audit Sheet
Statistics sheet has Month column to indicate the period of reporting. It is always 1st day of the month. In the fields, it is already noted as a date hierarchy as well. I am using a slicer to filter the period in my report view. It works well in all the visuals.
Similarly, I have Audit Date column in Audit data sheet. Which can be various different dates in a month.
So, I am trying to achieve my slicer to filter the month period which should then filter the visual that is fed by Audit sheet as well.
I believe I have to establish a link between the Month column in Statistics sheet to Audit Date column in Audit sheet. When I try to do that, I receive warning: "This relationship has cardinality - Many to Many". It still allows me to establish the relation. However, the slicer filter (Period selection for month) does not apply to visuals that are fed from Audit sheet.
I have similarly Many to Many type relation in Project Name columns of two sheets. My project name slicer is working perfectly fine. I tried changing the formats of the dates, adding a new column to only list the month name. or make individual dates in audit sheet to be 1st of the month to match the other sheet. Nothing worked.
I will appreciate if someone can advise on what might be the problem.
Thanks in advance.
All the best!
Solved! Go to Solution.
You need to create a couple of dimension tables and link them to your fact tables. Firstly, create a proper date table, marked as a date table. Delete the relationships between your fact tables and create one-to-many relationships from your date table to each fact table.
Then create another dimension table for your project names. You can do this in Power Query by combining the columns from each sheet into a new table and then removing duplicates, or you could do it in DAX like
Project Names =
DISTINCT (
UNION (
DISTINCT ( 'Audit'[Project Name] ),
DISTINCT ( 'Statistics'[Project name] )
)
)
Then create one-to-many relationships from the new dimension table to each fact table.
Use columns from the dimension tables in your visuals, slicers etc and everything should filter correctly.
You need to create a couple of dimension tables and link them to your fact tables. Firstly, create a proper date table, marked as a date table. Delete the relationships between your fact tables and create one-to-many relationships from your date table to each fact table.
Then create another dimension table for your project names. You can do this in Power Query by combining the columns from each sheet into a new table and then removing duplicates, or you could do it in DAX like
Project Names =
DISTINCT (
UNION (
DISTINCT ( 'Audit'[Project Name] ),
DISTINCT ( 'Statistics'[Project name] )
)
)
Then create one-to-many relationships from the new dimension table to each fact table.
Use columns from the dimension tables in your visuals, slicers etc and everything should filter correctly.
Thank you Johnt75. It worked👌
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
69 | |
68 | |
40 | |
29 | |
26 |
User | Count |
---|---|
89 | |
49 | |
44 | |
38 | |
37 |