Forum Discussion
dsj8wksnnckk
2 years agoResolver I
Error with calculated columns after adding calculated rows with Power Query
Hi, I have used the Power Query editor to add calculated rows to my database. The power query formula adds a value for every column so no column is left empty. After loading the data model, I h...
- 2 years ago
I figured out my mistake. Since there are 300+ R's, and over 500k records, I simply presumed that all R's have a record with "P3 & T3" in Table2, but they don't. I simply fixed with this adding an IF statement
Formula =
IF(Table1[Project] = "P3", "T3", LOOKUPVALUE (Table2[Type],
Table2[Project], Table1[Project],
Table2[Resource], Table1[Resource]))
This resolved my issue.
dsj8wksnnckk
2 years agoResolver I
I figured out my mistake. Since there are 300+ R's, and over 500k records, I simply presumed that all R's have a record with "P3 & T3" in Table2, but they don't. I simply fixed with this adding an IF statement
Formula =
IF(Table1[Project] = "P3", "T3", LOOKUPVALUE (Table2[Type],
Table2[Project], Table1[Project],
Table2[Resource], Table1[Resource]))
This resolved my issue.