Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I've used the LOOKUPVALUE function a number of times in the same table to create new columns and so I know it works. I have checked and double-checked my nomenclature and it appears to be correct. I'm thinking Power BI may not "like" this function here, because it is referencing the primary key in another table that is already referenced by another field in the current table. That is, two fields in one table both reference the same key field in the second table.
So, if this is the case, and it's just some fluke. I'm wondering if I create a separate table will I be able to make this work? (Any other ideas are welcome).
How do I create a new dynamic table from my 'Audits' table that contains the following:
* A column for the 'Audits Table'[employeerelatedprocedureID] on which the employee was audited where [employeerelatedprocedureID] <> BLANK().
* A column for the procedure name that must be looked up in the 'Procedures' table, like this: LOOKUPVALUE('Procedures'[PROCEDURES_name], 'Procedures'[Procedure ID], 'Audits'[employeerelatedprocedureid_value])
I'm not sure if this will work either, but I think it's worth a try. If I'm missing something obvious, please let me know. Ideas are appreciated. Thanks!
Solved! Go to Solution.
What is the relationship between audit and procedures? If there's proper one to many relationship, you can get the procedure name with RELATED.
Table = ADDCOLUMNS ( FILTER ( 'Audits Table', 'Audits Table'[employeerelatedprocedureID] <> BLANK () ), "pname", RELATED ( Procedures[PROCEDURES_name] ) )
If this is not your case, could you post more details, sample data for each table, relationship etc.
What is the relationship between audit and procedures? If there's proper one to many relationship, you can get the procedure name with RELATED.
Table = ADDCOLUMNS ( FILTER ( 'Audits Table', 'Audits Table'[employeerelatedprocedureID] <> BLANK () ), "pname", RELATED ( Procedures[PROCEDURES_name] ) )
If this is not your case, could you post more details, sample data for each table, relationship etc.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
122 | |
80 | |
47 | |
44 | |
35 |
User | Count |
---|---|
182 | |
83 | |
70 | |
47 | |
45 |