The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Task is the main model, I duplicated/replicate to create Table (3). I linked both of them to Calendar table as I was preparing planned vs actual charts. Task I get Planned values and from Table (3) I get Actual values and plot them on the Calendar table date axis.
But as additional requirement, I need to create individual (plan vs actual) charts by filtering based on Area and other based on Breakdown, and Task name, etc.
To relate the tables i created a table for "Area" as common value and when i tried to give relationship between the tables only one relationship remains active.
And for the table which has active relationship the values shows correct when the filter is used.
I even used Lookup to directly relate the tables but the relationship still remains inactive. The common values between tables is Task ID but that also becomes inactive.
Is there a better way to do it? Do i have to keep creating tables for Area, then Breakdown, etc.?
Solved! Go to Solution.
Hey,
basically you should create separate tables for Area, and or Breakdown.
You should also avoid the bidirectional filtering between the calendar table and both fact tables, you might consider to use the function CROSSFILTER to turn bidi-filtering for specific measures, this will also prevent circular depencies in your data model.
I recommend to watch these videos:
and read these articles
Hopefully this will provide you with some ideas how to solve your requirements. If you need more help, please consider to create sample data that represents your data model and upload the pbix to onedrive or dropbox and share the link. If you use Excel to create the sample data, share the Excel file as well.
Regards,
Tom
Hi @Anonymous ,
at first, I would remove the filter in both directions to the calendar.
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.
Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials
Hi @Anonymous
The bi-directional filters between the Calendar table and the 2 Tasks tables are preventing you from creating an active relationship between the 'Area Table' table and Tasks as there would be ambiguity in the model.
It's strongly recommended that you don't use bi-directional filters in your data model unless absolutely required.
If you can convert the the relationships to uni-directional, I think you'll be able to create an active relationship between the 'Area Table' table and Tasks. Your filters should then apply correctly.
Best regards,
Martyn
Hey,
basically you should create separate tables for Area, and or Breakdown.
You should also avoid the bidirectional filtering between the calendar table and both fact tables, you might consider to use the function CROSSFILTER to turn bidi-filtering for specific measures, this will also prevent circular depencies in your data model.
I recommend to watch these videos:
and read these articles
Hopefully this will provide you with some ideas how to solve your requirements. If you need more help, please consider to create sample data that represents your data model and upload the pbix to onedrive or dropbox and share the link. If you use Excel to create the sample data, share the Excel file as well.
Regards,
Tom
User | Count |
---|---|
56 | |
54 | |
54 | |
49 | |
30 |
User | Count |
---|---|
173 | |
89 | |
70 | |
46 | |
45 |