cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Super User
Super User

Re: Need Help - Pivot table

Hi,

 

Try these measures:

 

Met = CALCULATE(COUNTROWS(Table1),Table1[MeasurementStatus]="Met")

Missed = CALCULATE(COUNTROWS(Table1),Table1[MeasurementStatus]="Missed")

Total = [Met]+[Missed]

Performance (%) = [Met]/[Missed]

 

Hope this helps.

View solution in original post

Zaky Member
Member

Re: Need Help - Pivot table

Hi,

 

Could you please show steps to do this?

 

Thanks.

Vishnu_1980 Frequent Visitor
Frequent Visitor

Re: Need Help - Pivot table

Hi ,

 

Please find the attached screen shot.Kindly have a look and confirm me if anything required.IF performance percentage needs to calcualte, we need create few measure.New is the table name 

 

With the help of ashish mathur code i ahve created four measure.Img1.PNG

 

Please find below the code as he given:

 

Met = CALCULATE(COUNTROWS(New),New[MeasurementStatus]="Met")
Missed = CALCULATE(COUNTROWS(New),New[MeasurementStatus]="Missed")
Total = 'New'[Met]+'New'[Missed]
Performance percentage = 'New'[Met]/'New'[Total]
 
Once we created kindly use matrix tableImg12.PNG
 
Thanks

View solution in original post

Zaky Member
Member

Re: Need Help - Pivot table

Hi,

 

Thanks it works perfectly !

Zaky Member
Member

Re: Need Help - Pivot table

one more thing..how can i make the % symbol available after the percentage number? mine not shown

 

percentage.JPG

 

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 52 members 1,457 guests
Please welcome our newest community members: