Forum Discussion

Shankar12v's avatar
Shankar12v
Regular Visitor
7 years ago

Percentage calculation

Hi,

 

I am having 3 fields as below trying to calculate the talatal and % of those, i tried some thing need help.

 

keysNumber of Accounts PER USERuser Name
F39F7626BB2F2B7712EDA1BFADB1130[email protected]
73D741DF314F7CE3CA1578265EE7130[email protected]
135D81AC4C1BE99135A56F5154DF20[email protected]
DFA72892728DE9AC4D6A1C7FF12CD20[email protected]
862A1DEE374CC7C3AA289626CE368715[email protected]
9CA543A4F2ABB28575CACEE76CA8740[email protected]
468A53332D45B539F5395E2F29DC54[email protected]
2E656AD1228FEAB62C431BC5DB72C40[email protected]
2ACF9AFAD4CC6CC8477C35C95EA4A10[email protected]
F49A941443A925357E3C849B8D92E4[email protected]

 

 

Fisrt identifying the count of keys i did add a new measure with a formula--   KeyCount = count(Keys) for calculating the percentage used the formula  Key % = divide(count(Keys),sum(Manually entered values in a column-"10" and called here ),0). i want the field to be filled with 10 automatically. Same i calclulate for the rest that is user and no of users by manually updateing the value in a column and used as a denominator.

 

How to get rid of manulally updating.please suggest.

 

 

 

 

 

 

 

 

 

2 Replies

  • v-piga-msft's avatar
    v-piga-msft
    Resident Rockstar

    Hi Shankar12v,

     

    You could use dax formula to replace the sum (10).

     

    If the number 10 is the sum rows of Key, you could use dax function COUNTROWS to calculate it. Then you don't need to manually update it. It will change dynamically with the total key rows.

     

    Best  Regards,

    Cherry

  • v-piga-msft's avatar
    v-piga-msft
    Resident Rockstar

    Hi Shankar12v,

     

    Have you solved your problem?

     

    If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

     

    If you still need help, please share your desired output so that we could help further on it.

     

    Best  Regards,

    Cherry