Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
v-huizhn-msft
Employee
Employee

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.