Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi Folks,
I have a 2 columns from 2 different tables and need to get same items from both and sum of them
As filter, I need to add conditions, where code are same, but CodeName is little different
How can I realize it?
Hi,
are the first 4 letters unique for each Code Name and identical in both tables? And what does the connection between the tables look like?
Code 4 letters is same for both, but codename may be different for the same Code. Connection is Many to One
Maybe try something like:
Measure =
VAR CodeTab1 = LEFT(MAX(Table1[Code Name]), 4)
VAR CodeTab2 = LEFT(MAX(Table2[Code Name]), 4)
RETURN
if(CodeTab1 = CodeTab2, SUM(Table1[Value]) + SUM(Table2[Value]), BLANK())
it always shows blank
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.