Forum Discussion
TrulsB
6 years agoFrequent Visitor
Count rows on selected months
I have a sharepoint list with a lot of projects. I do aloso have a date table with date, week, monty, year, quartal eg. The columns in the sharepoint list is Projectname (text), Start date (date)...
- 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.
Ashish_Mathur
6 years agoSuper User
Hi,
What logic have you used for determining the Yes and No under the Active column of Table2? Please explain.
TrulsB
6 years agoFrequent Visitor
It is a Sharepoint yes/no field.