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.
I have two tables, 'Offices' and 'Projects'.
'Offices' has the list of all offices within the department. 'Projects' has a list of all projects worked on in the Department, which may be assigned to more than one office:
Project Name | Fiscal Year | Office Assigned | Project Type |
A | 2020 | Hiring, Finance | L |
B | 2021 | Finance | T |
C | 2021 | Finance, Advertising | T |
D | 2020 | Advertising, Hiring | L |
I would like to generate a count of each project type assigned to each office, when then a slicer could break down into fiscal years:
Office | T Projects | L Projects |
Hiring | 1 | |
FInance | 2 | |
Advertising | 1 | 1 |
In Excel, I would do a "countifs" function in each cell, but I don't see that working in BI. If I just do a matrix using [Office names] in 'Offices' and [Project Type] in 'Projects', it works, except that there's one row without an office name that contains the count of all projects where more than one office was assigned.
Thanks!
Solved! Go to Solution.
@amanda_wahlig , You have split the office column into rows. So either do in this table or create a new table and do there
Split by rows in power query https://www.tutorialgateway.org/how-to-split-columns-in-power-bi/
@amanda_wahlig , You have split the office column into rows. So either do in this table or create a new table and do there
Split by rows in power query https://www.tutorialgateway.org/how-to-split-columns-in-power-bi/
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 |
---|---|
114 | |
99 | |
83 | |
70 | |
60 |
User | Count |
---|---|
150 | |
115 | |
104 | |
89 | |
65 |