Forum Discussion
ghouse_peer
Post Patron
3 years agoCount with all Status and Divide by Total
Hi team, I ahve a column in my dataset named "Status". In Status column we have Completed, In Progress, Awaiting Confirmation and Blanks. Total Alerts= Sum of counts (Completed+In Progress+...
- 3 years ago
Hi ghouse_peer
try like:
Ratio =VAR _value = CALCULATE(COUNTROWS(TableName), TableName[Status] IN {"Completed", "In Progress"})VAR _allvalue = CALCULATE(COUNTROWS(TableName), ALL(TableName))RETURNDIVIDE(_value, _allvalue)
FreemanZ
Super User
3 years agoHi ghouse_peer
try like:
Ratio =
VAR _value = CALCULATE(COUNTROWS(TableName), TableName[Status] IN {"Completed", "In Progress"})
VAR _allvalue = CALCULATE(COUNTROWS(TableName), ALL(TableName))
RETURN
DIVIDE(_value, _allvalue)
- ghouse_peer3 years ago
Post Patron
Thank You it worked...