Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hello,
I have these table:
I have the following relationships between the tables:
activities->id_user = users->id_user ----both
target->id_user = users->id_user ----both
I have this slicers:
These slices only work in the table they were taken from:
In my case total target for 2018 is 70.
How can I create a relationship to change the values in both tables?
Thank you!
Hi @sea,
This filter doesn't affect the target table because the relationship is just on "id_user".
When you select a year on "Activities" table it simple gets all rows from Target table (or filtering by users).
Do you wanna compare the target per day of activities ? If yes, you can use the append function on those 2 tables.
Let me know if I can help you.
Thanks,
Ricardo
I want to see the target and the activities for the selected year.
@sea,
You can append those 2 tables and either filter by the same data field or create a new date table.
I tried it here, when I select "2018" it gives me 210. I think it's correct once you have 3 users, right ?
About the activities, are u gonna count the numbers of dates ? If yes, you can count the number of dates where the column "target_activities" is blank after append those tables.
Tks,
Ricardo
User | Count |
---|---|
140 | |
113 | |
104 | |
76 | |
63 |
User | Count |
---|---|
135 | |
126 | |
110 | |
70 | |
61 |