mappings
2 TopicsData Mapping based on other table's field name
Hi Community ! As my BI-experiences are more with other tools than PowerBI, I am struggling on this one as I think it should work somehow: I do have two tables: Data DataID Column2 Column3 Column4 1 Text123 <null> Text789 2 <null> Text456 Text789 Scoring ScoringID DataColumn Score 1 Column2 10 2 Column3 5 3 Column4 20 My issue: I want to apply a scoring for DataQuality for one of my tables. Meaning: I have a defined Scoring table applying a score per specific column that should be applied if the datafield is not null. Based on the example posted, DataID 1 will have a score of 30, while DataID 2 should have a scoring of 25. So I at least think, that I need something like if(Data.ColumnName() = [Scoring].[DataColumn], if(isnull([Data].[Column2]),0,1)*[Scoring].[DataColumn]) However, I am stuck due to the lack of PowerBI knowledge as I do not know where exactly to apply and as well how to get this comparision with the field name. Hope someone can help me out here 🙂 Also, if there are any other or built-in options to do this - very appreciated!Solved1KViews0likes3CommentsDAX Measure to Check Tag From Different Table
Hi all, I am trying to solve a problem with relationships and column mapping from other table. I have two tables, both containing hundreds of rows of data. I have created a simple illustration data below. Table1 is considered as Main Data table, whereas Table2 as Product Code mapping Table: I would like to add Product Code column to Table 1. So basically, I am looking for a solution (DAX, Relationships, etc.) to check if Product in Table2 is included in Product of Table1. If it is true, then it should map to the correct Product Code. I have tried to play with relationships, but it does not map correctly. As a result, all "Bert" Products should have a code FEB, "WayX" Products should have a code DCA etc... A desired outcome example: Any suggestions? Best Regards, JereSolved2.1KViews0likes7Comments