Forum Discussion
sks2701
5 years agoHelper III
Calculation
Hi- I have a data set from which I have to show in visuals the below calculation- can someone please help , how this can be achieved Dropped Rate Total count of dropped / Total count Closed ...
- 5 years ago
Hi, sks2701
According to your description, you can try these measures:
Dropped Rate = var _tatalcount=COUNTX(ALL('Table'),'Table'[ID]) var _droppedcount=COUNTX(FILTER('Table',[Overall Status]="Dropped"),[ID]) return DIVIDE(_droppedcount,_tatalcount)Closed Rate = var _tatalcount=COUNTX(ALL('Table'),'Table'[ID]) var _closedcount=COUNTX(FILTER('Table',[Overall Status]="Closed"),[ID]) return DIVIDE(_closedcount,_tatalcount)Approval Rate = var _tatalcount=COUNTX(ALL('Table'),'Table'[ID]) var _approvalcount=COUNTX(FILTER('Table',[Overall Status]="In progress"||[Overall Status]="Under review"),[ID]) return DIVIDE(_approvalcount,_tatalcount)You can set the measure type to “Percetage”, like this:
And you can get what you want, like this:
You can download my test pbix file here
Best Regards,
Community Support Team _Robert Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
sks2701
5 years agoHelper III
thank you!
v-robertq-msft
5 years agoCommunity Support
Hi, sks2701
Have you solved your problem? Would you like to accept the reply as a solution if you find it's useful?
Thanks in advance!
Best Regards,
Community Support Team _Robert Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.