Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hello,
Is it possible to use valuelookup and skip zeros/blanks in order to return only the whole number associated to an ID. I have a column that only some of the unique IDs have a value per row. The dataset has many duplicated IDs which is why I'm getting the 'multiple values were supplied where a single value was expected'. Is it possible to use NoBlankrows or another type filter with valuelookup to bypass the blanks in the column?
Thank you for the help and clarification.
Solved! Go to Solution.
@MSW You could use CONCATENATEX instead of MAXXX to pull back multiple values. I'm having some issues trying to visualize your setup. You might try adding an index maybe? I'm not understanding what ties the second 123 in the first table to the second 123 in the second table. You'd have to have everything in the same order and use an index.
@MSW Assuming you are talking about LOOKUPVALUE function, use MAXX(FILTER(...),...) instead. More reliable and allows you to explicitly control the filtering.
@Greg_Deckler Thanks that works except that if I do not want the max value and I want the value associated to each row by ID.
IE:
Table 1:
Customer ID |
| 123 |
| 345 |
| 123 |
| 567 |
Table 2:
Customer ID | Merged |
| 123 | 123 789 |
| 345 | 345 134 |
| 123 | 123 876 |
| 567 | 567 214 |
I want to return the merged values to table one but the only way I have to connect the two is by customerID. Is it possible to look up the value and return it based on the row? The other option I have that does not appear to be working is in another table I have the merged column that is already associated to each customer ID. Greatly appreciate the help
@MSW You could use CONCATENATEX instead of MAXXX to pull back multiple values. I'm having some issues trying to visualize your setup. You might try adding an index maybe? I'm not understanding what ties the second 123 in the first table to the second 123 in the second table. You'd have to have everything in the same order and use an index.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 9 | |
| 6 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 21 | |
| 14 | |
| 9 | |
| 5 | |
| 5 |