Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
JakobGray
New Member

Form relationship between Table column and Table Headers AND multiple columns

I have three tables of data held within an excel workbook measuring compliance.

 

I am trying to build a compliance dashboard that will allow me to see through any sort of visualisation the error rates of employees across a range of categories, however I am encountering numerous issues with this due to the format of the source data.

 

In essence, I am trying to associate Table A sub category with Table C headers AND be able to use table B as a filter.

 

The end result I am looking for, is the ability to show by employee a count of how many errors they have across each of the categories and by manager a count of errors across categories.

 

I cannot for the life of me figure this out, and this is a rather easy task in Spotfire, but I am missing the ability to locate the functionality in Power BI...

 

I would love any assistance anyone is able to provide.

 

I have tried transposing table C, this didn't seem to work particularly well as it still didn't allow me to associate the employees in any meaningful way, and all the column headers became a list of applications...

 

Format of data below.

 

Table A contains the categories and sub-categories of compliance items:

CategorySub Category
Wallet CheckLicense Sighted
Wallet CheckDOB Confirmed

 

Table B contains the details of the persons undertaking the compliance checks:

EmployeeManagerStateBranch
Person AManager 1NSWA
Person BManager 1NSWA
Person CManager 2NSWA
Person DManager 1NSWB
Person EManager 2QLDC

 

Table C contains the compliance records; being who completed the check and the associated application ID:

Where a name is recorded under the categories, this means it was not completed correctly and is an error.

Application_IDFirst Pass %Second Pass %License SightedDOB ConfirmedOther Item
11111150%90%Person A Person B
11111275%100%Person BPerson CPerson D

 

 

 

1 REPLY 1
MFelix
Super User
Super User

Hi @JakobGray ,

 

You need to unpivot the columns on table C not transpose that way you will get the information in the same format, however there is a question about the unpivot is that all the columns that you don't unpivot are repeated and this can cause values to be repeated where you don't want them repeated.

 

In this case are all of the percentages values also part of your Table A categoy or only the two columns identified?


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.