Forum Discussion
Cellblime
1 year agoFrequent Visitor
Lookupvalue Returning an Error
I'm new to Power BI, but I believe I can describe this issue accurately. I have a queried table, Letters, with a column, Letter Code. I also have an imported Excel table, Letter Descriptions, with ...
- 1 year ago
Hi Cellblime ,
It sounds like you’re on the right track with using LOOKUPVALUE, but the error you’re encountering typically means that there are multiple matching values in the Letter Descriptions table for a given Letter Code. Double-check that the Letter Code column in the Letter Descriptions table truly has unique values.Use FIRSTNONBLANK BUT NOTE: This will only return the first non blank value found, ignoring all other's.
Letter Description = CALCULATE( FIRSTNONBLANK('Letter Descriptions'[Description], 1), FILTER('Letter Descriptions', 'Letter Descriptions'[Letter Code] = Letters[Letter Code]) )
I hope this help you, if so, please accept as solution and give a Kudo.Thank you.
Ashish_Mathur
1 year agoSuper User
Hi,
Ensure that your formula is a calculated column formula (not a measure). If this does not help, then share some data to work with. Share data in a format that can be pasted in an MS Excel file.