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 August 31st. Request your voucher.
Hi All,
I'm very much a Power BI beginner, but with the help of the kind folk here I've be able to make a lot of progress learning, and developing a dashboard for my organisation, a small charity.
I've created a number of measures, simple and more complex to count various activities and unique people across our CRM. However, I've having trouble getting the filtering to work correctly, when I want to cross filter from another table.
For example, I have two measures, one that count Enrolment Starts (Unique People) and One that Counts enrolment finishes (Unique People). There's usually open referals at any one time, and so more starts than finishes within a period, say a year. Because the start and finish dates are in the same table I use an inactive relationship to count the finishes. I've lots of similar measures counting various things - appointments, phone calls, workshop attendances etc.
In my visuals I'm stuggleing to be able to filter these measures by catagories in other tables. For example I might want to break the figures down by ethnicity (from by Contacts Table) or By project or service (Both in a Project table - but also sometime present in a merged column).
I think my data model is the problem. I've stuggled to set up all the relationships I would think logitacal because they would introduce ambiguity. So I have many inactive relationships across my model. When I try to use these inactive relationships alongside say a USERELATIONSHIP to my Contacts table, I end up with the same numbers for each ethnicity for both enrolment starts and finshes. This is clearly wong.
The measures look like this:
The table I think is wrong looks like this:
Finally, my date model looks like this (not all relationships are shown here):
I think I might need to re-design the data model with more tables - separating out enrollment starts and finishes into different tables, and maybe introduce some other helper tables? For example, i'm not really sure why the Referals table wouldn't have an active relationship with the Contacts table - I think through the data table there is some ambiguity with the Calendar table. Bit confused by that to be honest.
Where I think it'll get more complicated is I have a number of measures that seek to count unique people across all of the tables, using the User IDs. Is there a easy to get all the relationships to go back to the Contacts table or the Project table?
An example of such a measures is:
I'd like to be able join all that data to the other tables for filtering.
Happy to take any advice.
Many thanks,
Adam
I think I need a new table to seperate off the date elements (registation, modified on, last activity date, etc) of my Contacts table - its blurring the difference between fact and dimension, right?