cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
panda2004
Helper I
Helper I

JSON Transformation

How would you replace the following key/value paris into columns?

{
	"ProductId":"88432",
	"Tags":[
		{
			"Key":"Category",
			"Value":"Electricity"
		},
		{
			"Key":"IsNew",
			"Value":true
		},
		{
			"Key":"ShippingType",
			"Value":"Worldwide"
		}	
	]
}

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

2 REPLIES 2
Anonymous
Not applicable

Just what I needed, thanks!

 

For future intersted people:

  • The tags is a List type.
  • You have the ability to either expand each item into different column, such as Tag1.Key/Tag1.Value, Tag2.Key/Tag2.value, or either expand each item to a different row (which is pretty **bleep** cool!).

Helpful resources

Announcements
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

Get Ready for Power BI Dev Camp

Power BI Dev Camp - September 30th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.