Forum Discussion
Clustered column chart
- 9 years ago
Hi pauldago,
You count them by different columns and different date. So a date table is essential. First we create a new date table which will be our x-axis. Then create two measures.
1. Create a date table (image 1).
Date =
CALENDAR ( "2001-01-01", "2017-12-31" )2. Create two measures
Deleted =
CALCULATE (
COUNTROWS (
FILTER ( 'Table', 'Table'[STATUS DATE].[Year] = MIN ( 'Date'[Date].[Year] ) )
),
'Table'[STATUS] = "deleted"
)Created =
COUNTROWS (
FILTER ( 'Table', 'Table'[CREATION DATE].[Year] = MIN ( 'Date'[Date].[Year] ) )
)
Hi smoupre, thanks a lot for your help. I can use your suggestion for the DELETED Items as I have it as a Status, but I don't have the information CREATED as a Status. I have only the Creation Date column.
Thank you
Do you have status column for all but empty?
If so, you may use <> (does not equal to)
CREATED= CALCULATE(COUNTROWS(Table),[STATUS]<>"DELETED")