Reply
Regular Visitor
Posts: 21
Registered: ‎09-12-2017
Accepted Solution

Calculate Percentage

[ Edited ]

I want to calculate the percentage of "Y" (Say in Col 3) mentioned for seperate divisions (Say )1,2,3 (in col 1). Please suggest.
My requirement is to get the %age of no. of "Y", by an individual division, out of the total transaction each does.

 

Need to check, what percentage of each division is a Y, and then Percentage of Y in total out of the total description

 

DivisionDescrption (Say Anythin)If Nomenclature Rule Followed in Description
AasdasdY
BsdfsdfdsN
CfgjfghN
AerwerY
BwerwerY
CfjhfgjN

Accepted Solutions
Regular Visitor
Posts: 31
Registered: ‎04-29-2017

Re: Calculate Percentage

Try these series of measures.

 

CountY =: Countrows ( 

                                      Filter ( Table,

                                                    Table1[Column Yes or No] = "Y")

                                     )

 

CountTransactions =: Countrows ( Table )

 

%Y =: Divide ( [CountY], [CountTransactions])

 

 

View solution in original post


All Replies
Regular Visitor
Posts: 31
Registered: ‎04-29-2017

Re: Calculate Percentage

Try these series of measures.

 

CountY =: Countrows ( 

                                      Filter ( Table,

                                                    Table1[Column Yes or No] = "Y")

                                     )

 

CountTransactions =: Countrows ( Table )

 

%Y =: Divide ( [CountY], [CountTransactions])

 

 

Regular Visitor
Posts: 21
Registered: ‎09-12-2017

Re: Calculate Percentage

Thanks Gabriel.