sql - powerpivot inner join -
i have 1 table:
person name country code andrew 1 philip 2 john 1 daniel 2
and lookup table:
country code country name 1 usa 2 uk
i added them powerpivot, created relationship between country code fields, created pivot table. expect following:
person name country code andrew usa philip uk john usa daniel uk
but is:
person name country code andrew usa andrew uk philip usa philip uk john usa john uk daniel usa daniel uk
couple of options:
add column main table uses formula pull in country name lookup table e.g.
=related(lookuptable[country name])
if drag in measure references main table desired result e.g.
=countrows('maintable')
hide results column if had to.
Comments
Post a Comment