Forum Discussion
Count rows on selected months
- 6 years ago
Hi,
Since i have not understood the logic of the Yes/No, i have not been able to generate that column. You may download my PBI file from here.
Hope this helps.
- 6 years ago
Hi TrulsB,
You could refer to Ashish_Mathur 's file, if you want to get total in column and row, you could turn subtotal button like below
If you want to get start date- stop date in last column, you could try to use below measure to replace measure in above file
Measure = IF ( HASONEVALUE ( 'Attribute order'[Attribute] ), DISTINCTCOUNT ( Data[Projectname] ) + 0, CALCULATE ( DISTINCTCOUNT ( Data[Projectname] ), FILTER ( 'Attribute order', 'Attribute order'[Attribute] = "Start date" ) ) - CALCULATE ( DISTINCTCOUNT ( Data[Projectname] ), FILTER ( 'Attribute order', 'Attribute order'[Attribute] = "Stop date" ) ) + 0 )Best Regards,
Zoe ZhiIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
Since i have not understood the logic of the Yes/No, i have not been able to generate that column. You may download my PBI file from here.
Hope this helps.
Is it possible to add an additional column at the end in the result that is the difference between the "Start date" column, and "Stop date" column?
- Ashish_Mathur6 years agoSuper User
Hi,
Started projects - Stopped projects or Stopped projects - Started projects could lead to negative numbers well. Are you OK with that? Also, should it be Started projects - Stopped projects or Stopped projects - Started projects?