Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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
Division | Descrption (Say Anythin) | If Nomenclature Rule Followed in Description |
A | asdasd | Y |
B | sdfsdfds | N |
C | fgjfgh | N |
A | erwer | Y |
B | werwer | Y |
C | fjhfgj | N |
Solved! Go to Solution.
Try these series of measures.
CountY =: Countrows (
Filter ( Table,
Table1[Column Yes or No] = "Y")
)
CountTransactions =: Countrows ( Table )
%Y =: Divide ( [CountY], [CountTransactions])
Try these series of measures.
CountY =: Countrows (
Filter ( Table,
Table1[Column Yes or No] = "Y")
)
CountTransactions =: Countrows ( Table )
%Y =: Divide ( [CountY], [CountTransactions])
Thanks Gabriel.
User | Count |
---|---|
84 | |
75 | |
73 | |
42 | |
36 |
User | Count |
---|---|
114 | |
56 | |
52 | |
43 | |
42 |