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.
Hi,
I have two table as below , first one is Tasks table and second is assignment table. One task can be assigned to multiple people. We want to see data in a table visual where it shows as the requirement table.
Tasks Table
Sr. | Task ID |
1 | Task 1 |
2 | Task 2 |
3 | Task 3 |
4 | Task 4 |
5 | Task 5 |
Assignment Table
Task ID | Assigned To |
Task 1 | E1 |
Task 1 | E2 |
Task 2 | E1 |
Task 3 | E3 |
Task 3 | E1 |
Task 4 | E2 |
Task 5 | E2 |
Requriement
Task ID | Desc | Assigned To |
1 | Task 1 | E1, E2 |
2 | Task 2 | E1 |
3 | Task 3 | E1, E3 |
4 | Task 4 | E2 |
5 | Task 5 | E2 |
Can you please help on how to achieve the above.
Solved! Go to Solution.
@dvnnnaidu , Assuming both tables are joined
Try measure like
concatenatex(Assignment,Assignment [Assigned To],",")
refer: https://www.youtube.com/watch?v=du2HSEzng2E
Hi @dvnnnaidu,
I also think concatenatex function should suitable for your scenario. You only need to write a measure formula to use the current task to lookup correspond assign records.
Measure =
VAR taskList =
CALCULATETABLE ( VALUE ( Tasks[Task ID] ), ALLSELECTED ( Tasks ) )
RETURN
CONCATENATEX (
FILTER ( ALLSELECTED ( Assignment ), [Task ID] IN taskList ),
Assignment[Assigned To],
","
)
Regards,
Xiaoxin Sheng
@dvnnnaidu , Assuming both tables are joined
Try measure like
concatenatex(Assignment,Assignment [Assigned To],",")
refer: https://www.youtube.com/watch?v=du2HSEzng2E
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 |
---|---|
111 | |
97 | |
80 | |
69 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |