Forum Discussion
Trouble with Clustered Column X-Axis with two columns.
- Anonymous3 years ago
Hi powerbinoobster ,
Please new a calendar table like:Calendar = ADDCOLUMNS( CALENDAR(MIN('Table'[Date Originated]),MAX('Table'[Date Complete])), "Year",YEAR([Date]), "Month",FORMAT([Date],"mmm"), "Month Number",MONTH([Date]) )Relationships:
Then new 2 measures:
Count of Date Originated = COUNTROWS('Table')Count of Date Complete = CALCULATE(COUNTROWS('Table'),USERELATIONSHIP('Table'[Date Complete],'Calendar'[Date]))and apply them with 'calendar'[year] and [month] to the visual and setting filter like:
The PBIX file is attached for reference.
Best Regards,
Gao
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
Hi powerbinoobster ,
Please new a calendar table like:
Calendar =
ADDCOLUMNS(
CALENDAR(MIN('Table'[Date Originated]),MAX('Table'[Date Complete])),
"Year",YEAR([Date]),
"Month",FORMAT([Date],"mmm"),
"Month Number",MONTH([Date])
)
Relationships:
Then new 2 measures:
Count of Date Originated = COUNTROWS('Table')Count of Date Complete = CALCULATE(COUNTROWS('Table'),USERELATIONSHIP('Table'[Date Complete],'Calendar'[Date]))
and apply them with 'calendar'[year] and [month] to the visual and setting filter like:
The PBIX file is attached for reference.
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data