Forum Discussion
Anonymous
4 years agoNot applicable
MTD based on condition
Hi Team, I have to calculate MTD as I have a table which has 4 columns as below, I have caluclate MTD based on the date. Requirment = Number of yes under each account and divded by nuumber of rows ...
- 4 years ago
Hi, Anonymous ,
You could create a measure as follow:
percent = DIVIDE ( CALCULATE ( COUNT ( [Account] ), FILTER ( ALLSELECTED ( 'Table' ), [Account] = MAX ( 'Table'[Account] ) && [Task Submision Status] = "Yes" ) ), CALCULATE ( COUNT ( [Account] ), FILTER ( ALLSELECTED ( 'Table' ), [Account] = MAX ( 'Table'[Account] ) ) ) )The final show:
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.
Anonymous
4 years agoNot applicable
amitchandak
Super User
4 years agoAnonymous , the measure is still not complete. can share formula with me
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
- Anonymous4 years agoNot applicable