Forum Discussion
Dax for % of task completed
- Anonymous3 years ago
Hi Ejykso ,
Please have a try
easure = VAR _1toal = CALCULATE ( SUM ( 'Table'[Number_of_Task] ), ALL ( 'Table' ) ) RETURN MAX ( 'Table'[Number_of_Task] ) / _1toalHow to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ RongtieIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks Alef_Ricardo,
The completed is a measure that calculates the completed task and not a column in a table so there's no sum for the measure. The solution provided by v-rongtiep-msft would have worked except that the ALL in the dax is showing all total task irrespective of the date filter which is not what I'm looking for. I want the total task to be based on the date filter applied.
Hi Ejykso ,
Please have a try
easure =
VAR _1toal =
CALCULATE ( SUM ( 'Table'[Number_of_Task] ), ALL ( 'Table' ) )
RETURN
MAX ( 'Table'[Number_of_Task] ) / _1toal
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Rongtie
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
Thanks so much . This worked