Forum Discussion
Power Bi - Measured column
- Anonymous3 years ago
Hi Anonymous ,
Sorry, still not very clear. Could you go into more detail and provide some simple sample data and the corresponding expected results? Thank you.
Which state do you want to calculate the percentage?
percentage = var _totalgroupbyepic=COUNTROWS(FILTER(ALLSELECTED('Table'),[epic]=MAX('Table'[epic]))) var _count=COUNTROWS(FILTER(ALLSELECTED('Table'),[status]="Done"&&[epic]=MAX('Table'[epic]))) return DIVIDE(_count,_totalgroupbyepic)Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Anonymous3 years ago
Hi Anonymous ,
Your solution is right.
Thank you for your reply : )
Hi Anonymous ,
Sorry, still not very clear. Could you go into more detail and provide some simple sample data and the corresponding expected results? Thank you.
Which state do you want to calculate the percentage?
percentage = var _totalgroupbyepic=COUNTROWS(FILTER(ALLSELECTED('Table'),[epic]=MAX('Table'[epic])))
var _count=COUNTROWS(FILTER(ALLSELECTED('Table'),[status]="Done"&&[epic]=MAX('Table'[epic])))
return DIVIDE(_count,_totalgroupbyepic)
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Anonymous3 years agoNot applicable
Hi Anonymous ,
Your solution is right.
Thank you for your reply : )