Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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])
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
17 | |
7 | |
7 | |
6 | |
5 |
User | Count |
---|---|
22 | |
10 | |
10 | |
9 | |
7 |