简体   繁体   中英

PowerBI extracting JSON record to a custom column

I am taking data from a web source and have expanded all my columns. When everything is split and expanded, my columns look like:

result.col1| result.col2| result.col3| result.col4
val1       | val2       | Record     |val4

In here we can see that result.col3 has another JSON record.

What I am trying to accomplish is: How can I create a custom column that reads each Record and outputs a value based off one of the items?

For example the JSON record has:

link: https://google.com
value: 444333

I want the custom column's row to display "A" if value inside the record is "444333"

You could copy the result.col3 column, expand the copy, build your custom column based on the expanded fields, then delete them.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM