Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

Auto-renaming columns based on value in another table

$
0
0

Hi all,

 

I have connected PowerBI to our CRM software (Pipedrive). I pull data relating to our customers / deals from Pipedrive using a JSON API call. Each deal / customer is saved as an object with various (50+) attributes. The data is reflected in PBI as a row for each customer, with a column for each attribute (see table 2 in the simplified example in the pic below)

 

The attributes are saved in Pipedrive using a unique key with 24 random characters.  The columns in my table with deals/customers are these keys, which are obviously not very descriptive. I have another table in PBI which links the field key to a more descriptive name, like Customer Type (table 1 in pic below)

 

I would like to update the column names of table 2, using the values in table 1, so that i get something that looks like table 3. Anyone know if/how this is possible?

 

Thanks,

 

David

 

tables.JPG

 

 

 

 

 


Viewing all articles
Browse latest Browse all 213819

Trending Articles