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

Rest: Extract a List which contains Records

$
0
0

Hello,

 

I'm currently working with REST as datasource for a small project.

 

That's the rest result:

 

 "customfield_1": [
          {
            "self": "https",
            "value": "Dev",
            "id": "2"
          },
          {
            "self": "https",
            "value": "Project",
            "id": "3"
          },
          {
            "self": "https",
            "value": "Care",
            "id": "4"
          }
        ],

 

So I have an atttribute which contains a list of records. For our project I want to know the three values of the attribute "customfield_1". But if I expand the attribute "customfield_1" Power Bi copies the entire line three times once with "Care", once with "Project" and once with "Dev". Which means if I have an additional attribute called "Priority_Value" with the value 5 and I create a graphic Power Bi shows us a priorty_value of 15 because it acts like the three instances are separate but in fact are the same line.

 

Does someone have a solution for that problem? I would like to combine the three values in one cell and not in three seperate instances of the same result.

 

So it should be like this:

 

customfield_1: "Dev; Project; Care"

and not like this:

 

customfield_1: "Dev"
customfield_1: "Project"
customfield_1: "Care"

 

Best Regards.

Jonas_Jonas


Viewing all articles
Browse latest Browse all 216047

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>