Forum Discussion
Ashik008
2 years agoFrequent Visitor
Month details from Two diffrent columns
Hi all,
I need a help with some calculation
I have a table with two date columns ,i need to have monthly count of some details
table
| service id | startdate | completion date |
| 12345 | 1/1/2024 | |
| 10101 | 13/1/2024 | 15/1/2024 |
| 14356 | 2/2/2024 | 16/2/2024 |
i want the result like this
| Month | count of service id started | count of service id completd |
| Jan | 2 | 1 |
| Feb | 1 | 1 |
please help me solve it
you need to create a calendar table and create two measures
start count = count('Table'[startdate]) complete count = CALCULATE(COUNT('Table'[completion date]),USERELATIONSHIP('Table'[completion date],'Table 2'[Date]))pls see the attachment below