March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi I have two tables..
TABLE 1 (DocNo, DocEntry, DocTotal, Date, Misc...)
TABLE 2 (DocNo, DocEntry, DocTotal, Date)
I want to pull Doc Total of TABLE 2 into TABLE 1 for Matching DocEntry field.
But there is not relationship between two tables.
So how to do that with DAX?
Solved! Go to Solution.
Hi, @rakeshmistry1
@rakeshmistry1
you can do using treats
Column 2 =
CALCULATE(
MIN('Table 1'[total]),
TREATAS(
VALUES('Table 1'[id]),
'Table 2'[id]
)
)
Hi, @rakeshmistry1
@rakeshmistry1
you can do using treats
Column 2 =
CALCULATE(
MIN('Table 1'[total]),
TREATAS(
VALUES('Table 1'[id]),
'Table 2'[id]
)
)
Thank you very much... it worked for me perfectly.
In Table1 create a calculated column:
DocTotal := LOOKUPVALUE(Table2[DocTotal], Table2[DocEntry], Table1[DocEntry])
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
21 | |
14 | |
11 | |
8 | |
5 |
User | Count |
---|---|
24 | |
21 | |
20 | |
15 | |
10 |