Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello
When I try to show the non-summarized field in the table power bi cannot identify the relationship between the tables.
I attach my file to make it easier for everyone.
I apologize for my English
please help me!
I want this:
but I get this:
Thank you very much in advance
Solved! Go to Solution.
Hi @Anonymous,
convert the "id employee" column of your department table to integer.
Create a calculated column "current department" in absence table with following definition
current department = var IdEmployee = [id employee] var DateOfAbsence = [date of absence] var DepartmentDate = CALCULATE(MAX(Department[start date]), Department[start date] <= DateOfAbsence) Return CALCULATE(VALUES(Department[Department]), Department[id employee] = IdEmployee, Department[start date] = DepartmentDate)
Use this column in your visualization instead of department.
Hi @Anonymous,
convert the "id employee" column of your department table to integer.
Create a calculated column "current department" in absence table with following definition
current department = var IdEmployee = [id employee] var DateOfAbsence = [date of absence] var DepartmentDate = CALCULATE(MAX(Department[start date]), Department[start date] <= DateOfAbsence) Return CALCULATE(VALUES(Department[Department]), Department[id employee] = IdEmployee, Department[start date] = DepartmentDate)
Use this column in your visualization instead of department.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
97 | |
79 | |
73 | |
56 |
User | Count |
---|---|
145 | |
105 | |
104 | |
90 | |
63 |