Forum Discussion
Anonymous
5 years agoNot applicable
Multiple Sale Result by Second Table Values
Hi Experts Here is the first question which gives me the correct answer for the first part. link: https://community.powerbi.com/t5/Desktop/Calculate-Sales-by-Channel-by-Region-by-County-by-Mon...
- 5 years ago
Hi, Anonymous
I am not sure if the below works.
LookupCost = LOOKUPVALUE( 'Append_Direct Ohds_IAM&OES'[Value], 'Append_Direct Ohds_IAM&OES'[Month], Sales_Data_Master[MonthV2], 'Append_Direct Ohds_IAM&OES'[Year], Sales_Data_Master[Years_In_Date], 'Append_Direct Ohds_IAM&OES'[Channel], Sales_Data_Master[Channel], 'Append_Direct Ohds_IAM&OES'[Country], Sales_Data_Master[Sales_Country], 'Append_Direct Ohds_IAM&OES'[Type of Cost], "4.Purch")
Jihwan_Kim
5 years agoSuper User
Hi, Anonymous
I think you deleted the error column in your Sales Data Master Table.
May I ask,
- Lookupvalue from "Which Table", and bring it to "Where" ??
- In AppendDirect Ohds table, the month name is Jan, Feb, Mar, ... but your Sales Data master Table has January, February, March, ... -> Can I create one more column to match the length of the name?
Anonymous
5 years agoNot applicable
Hi Kim yes...you can and I want to lookup value in AppendDirect Ohds table..just tell me what to do and I'll follow your steps. Don't post another pbix.
Where to sale data master.
- Jihwan_Kim5 years agoSuper User
Hi, Anonymous
I am not sure if the below works.
LookupCost = LOOKUPVALUE( 'Append_Direct Ohds_IAM&OES'[Value], 'Append_Direct Ohds_IAM&OES'[Month], Sales_Data_Master[MonthV2], 'Append_Direct Ohds_IAM&OES'[Year], Sales_Data_Master[Years_In_Date], 'Append_Direct Ohds_IAM&OES'[Channel], Sales_Data_Master[Channel], 'Append_Direct Ohds_IAM&OES'[Country], Sales_Data_Master[Sales_Country], 'Append_Direct Ohds_IAM&OES'[Type of Cost], "4.Purch") - Anonymous5 years agoNot applicable
What results did you get?
- Jihwan_Kim5 years agoSuper User
I got all 0.
I don't think it is correct.
😓
- Anonymous5 years agoNot applicable
thank you sir