The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
I have a column with the status of the actions and want to calculate %action closed, %Action Open, %Action Rejected etc. Somehow, I am unable to calculate it, can anyone help me?
Status |
Closed |
Closed |
Submitted |
Open |
Rejected |
Open |
Solved! Go to Solution.
Hi SamratQuality
you can use the measure below
Measure =
var countstatus = COUNT('Table'[Status])
var sumcount = CALCULATE(COUNT('Table'[Status]),ALL('Table'))
return
DIVIDE(countstatus,sumcount)
After, you select this measure and press the % buttom
If that measure helps you, accept that solution for you post.
Best Regards.
Hi, @Anonymous ;
You could create a measure as follows:
%percent = DIVIDE(CALCULATE(COUNTROWS('Table'),FILTER(ALL('Table'),[Status]=MAX([Status]))),CALCULATE(COUNT([Status]),ALL('Table')))
The final output is shown below:
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Percent Status : =
DIVIDE (
COUNTROWS ( Data ),
CALCULATE ( COUNTROWS ( Data ), REMOVEFILTERS ( 'Status'[Status] ) )
)
Hi SamratQuality
you can use the measure below
Measure =
var countstatus = COUNT('Table'[Status])
var sumcount = CALCULATE(COUNT('Table'[Status]),ALL('Table'))
return
DIVIDE(countstatus,sumcount)
After, you select this measure and press the % buttom
If that measure helps you, accept that solution for you post.
Best Regards.
User | Count |
---|---|
69 | |
64 | |
62 | |
55 | |
28 |
User | Count |
---|---|
203 | |
82 | |
65 | |
48 | |
38 |