cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
danafowler
Frequent Visitor

New table / query based on existing query

I am trying to create a table that will let me know if a certain fault was fixed/corrected what the % of increase it would be.

 

I am pulling data out of JIRA. Fields I am using for this is.

1. Parts - Generic listing of parts

2. TI - is Total Issues 

3. TU - is Total Units Shipped

4. FPY@shipped = 1-(TI/TU)  - This gives me a First Pass Yield = 80%

 

When I tie all these together I have a chart similar to this

 

Parts                   TI          FPY

Signs                100

Software            75

Doors                50

Cabinet             25

Totals              250                    80.00%

 

TU = 1250

I am trying to get a Value in the FPY column that would be:

Signs - 8%

Software - 6%

Doors - 4%

Cabinet - 2%

How can i achieve this?

I am new to Power BI and not familar with alot of the formulas and how to calculate these.

 

Any help is GREATLY appreciated

 

 

1 REPLY 1
Microsoft v-huizhn-msft
Microsoft

Re: New table / query based on existing query

Hi @danafowler,

 

In your source table, there are dupliate values in the Parts column, the TI column is aggregated in your chart, right? If it is, please review solution as follows.

First, please create a measure to calculate sum of TI for each Parts using the formula.

TI-sum=CALCULATE(SUM(Table[TI]),ALLEXCEPT(Table,Table[Parts]))


Second, create a another measure FPY.

FPY=Table[TI-sum]/1250


Finally, create a table, select the Parts, TI-sum, FPY as value level, you will get the expected result.

If this is not what you want, could you please share your source table for further analysis.

Best Regards,
Angelia

Helpful resources

Announcements
New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Join THE global Microsoft Power Platform event series.

Join THE global Power Platform event series.

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors