cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Advocate II
Advocate II

Rearrangement the Initialize variable content

Hi Everyone,

 

I have the Initialize variable content, the

 

The with title, how come to avoid it?

[
{
"Physical properties": "Physical properties:",
"2-102": "2-102",
"2-103": "2-103",
"2-104": "2-104",
"2-105": "2-105",
"2-106": "2-106",
"2-107": "2-107",
"2-108": "2-108"
},
{
"Physical properties": "Weight",
"2-102": ".+5%.- 5% ",
"2-103": ".+5%.- 5% ",
"2-104": ".+5%.- 5% ",
"2-105": ".+5%.- 5% ",
"2-106": ".+5%.- 5% ",
"2-107": ".+5%.- 5% ",
"2-108": ".+5%.- 5% "
},
{
"Physical properties": "Height",
"2-102": "25 N",
"2-103": "35 N",
"2-104": "45 N",
"2-105": " 40 N",
"2-106": " 45 N",
"2-107": " 45 N",
"2-108": "12 N"
},
{
"Physical properties": "Count",
"2-102": "25 N",
"2-103": "35 N",
"2-104": "45 N",
"2-105": " 40 N",
"2-106": " 45 N",
"2-107": " 45 N",
"2-108": "12 N"
},
{
"Physical properties": "Count1",
"2-102": "500 N",
"2-103": "500 N",
"2-104": "667 N",
"2-105": " 667 N",
"2-106": " 667 N",
"2-107": " 667 N",
"2-108": " 220 N"
},
{
"Physical properties": "Teat AB",
"2-102": "25 N",
"2-103": "35 N",
"2-104": "45 N",
"2-105": " 40 N",
"2-106": " 45 N",
"2-107": " 45 N",
"2-108": "12 N"
},
{
"Physical properties": "Tester ABD",
"2-102": "25 N",
"2-103": "35 N",
"2-104": "45 N",
"2-105": " 40 N",
"2-106": " 45 N",
"2-107": " 45 N",
"2-108": "12 N"
},
{
"Physical properties": "Tester 127632",
"2-102": "500 N",
"2-103": "500 N",
"2-104": "667 N",
"2-105": " 667 N",
"2-106": " 667 N",
"2-107": " 667 N",
"2-108": " 220 N"
},
{
"Physical properties": "ID name 29321",
"2-102": "500 N",
"2-103": "500 N",
"2-104": "667 N",
"2-105": " 667 N",
"2-106": " 667 N",
"2-107": " 667 N",
"2-108": " 220 N"
}
]
 
I just only want to display the below result, Is it possible to do it?
 
[
{
"Physical properties": "Height",
"2-102": "25 N",
"2-103": "35 N",
"2-104": "45 N",
"2-105": " 40 N",
"2-106": " 45 N",
"2-107": " 45 N",
"2-108": "12 N"
},
{
"Physical properties": "Count",
"2-102": "25 N",
"2-103": "35 N",
"2-104": "45 N",
"2-105": " 40 N",
"2-106": " 45 N",
"2-107": " 45 N",
"2-108": "12 N"
},
{
"Physical properties": "Count1",
"2-102": "500 N",
"2-103": "500 N",
"2-104": "667 N",
"2-105": " 667 N",
"2-106": " 667 N",
"2-107": " 667 N",
"2-108": " 220 N"
},
{
"Physical properties": "Teat AB",
"2-102": "25 N",
"2-103": "35 N",
"2-104": "45 N",
"2-105": " 40 N",
"2-106": " 45 N",
"2-107": " 45 N",
"2-108": "12 N"
},
{
"Physical properties": "Tester ABD",
"2-102": "25 N",
"2-103": "35 N",
"2-104": "45 N",
"2-105": " 40 N",
"2-106": " 45 N",
"2-107": " 45 N",
"2-108": "12 N"
},
{
"Physical properties": "Tester 127632",
"2-102": "500 N",
"2-103": "500 N",
"2-104": "667 N",
"2-105": " 667 N",
"2-106": " 667 N",
"2-107": " 667 N",
"2-108": " 220 N"
},
{
"Physical properties": "ID name 29321",
"2-102": "500 N",
"2-103": "500 N",
"2-104": "667 N",
"2-105": " 667 N",
"2-106": " 667 N",
"2-107": " 667 N",
"2-108": " 220 N"
}
]
 
Regards,
ilu989
2 ACCEPTED SOLUTIONS

Accepted Solutions
Super User II
Super User II

Hi @ilu989 

 

Once you get the value you can filter the array to remove the items you don't want. Something like this:

2020-01-03 17_52_00-Create your flow _ Power Automate.png

 

You can do it all in one step, but I'm just including like this for clarity purposes.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

View solution in original post

Dual Super User II
Dual Super User II

@ilu989 

 

You can achieve this using the skip function

I have shown 2 ways (compose and variable)

Import the attached flow and see the pattern

 

--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

View solution in original post

3 REPLIES 3
Super User II
Super User II

Hi @ilu989 

 

Once you get the value you can filter the array to remove the items you don't want. Something like this:

2020-01-03 17_52_00-Create your flow _ Power Automate.png

 

You can do it all in one step, but I'm just including like this for clarity purposes.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

View solution in original post

Dual Super User II
Dual Super User II

@ilu989 

 

You can achieve this using the skip function

I have shown 2 ways (compose and variable)

Import the attached flow and see the pattern

 

--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

View solution in original post

Hi @manuelstgomes ,

 

How to do it all in one step used filter array?

Can you guide, thanks!

 

Regards,

ilu989

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (13,081)