Forum Discussion

mith_tina's avatar
mith_tina
Frequent Visitor
4 years ago

how to get row value divide total row

on below table, i need to show the percenrage. how can i write dax for getting the percentage value(52439 / 437567=11.98%).

i tried to write this dax but it didnt get me the accurate answer. please help me to write the dax

 
Perent of Total =
DIVIDE (
COUNT('Table'[ID]),
CALCULATE ( COUNT('Table'[ID] ), ALLEXCEPT ('Table',[JL]) )
)

 

 

c10628936853962563744048276686402437567  
male722679287401857110799105145243911.98% 
female22756252452269826288288763034515620835.69% 
c9401064872945906474814745748561278240  
male352642754209420042324704251469.03% 

1 Reply

  • please check your sample data again - seems to be missing the column headers.  Is this how you get the data from the source?