Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi Guys,
I have 2 Datasets, whose sample is provided below
i am trying to create a calculated column in table1, looking for Country from Table 2,
if there are multiple values expected, it should return country with earliest Date
I have created the column with following dax
Name Email Country
A Email1 AU
B Email2 AQ
C Email3 AW
A Email4 AD
B Email5 AS
However my original dataset is much larger and when i am applying this calculated column, i am getting error as
"There isnt enough memory to complete this Operation, please try again later"
Is there any other Dax functions i can use to get the above lookup values?
Please suggest
Solved! Go to Solution.
@Anonymous , create a new column in Table
new column =
var _min = minx(filter(Table2,table2[email] =table[email] ), table2[date])
return
minx(filter(Table2,table2[email] =table[email] && Table2[Date]=_min), table2[Country])
@Anonymous , create a new column in Table
new column =
var _min = minx(filter(Table2,table2[email] =table[email] ), table2[date])
return
minx(filter(Table2,table2[email] =table[email] && Table2[Date]=_min), table2[Country])
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 |
|---|---|
| 53 | |
| 35 | |
| 31 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 75 | |
| 72 | |
| 39 | |
| 35 | |
| 23 |