- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Power BI - How to show two times/dates on x-axis on clustered column visual.
Hi, I have a data as below
ID | Opened Date | Closed Date |
ABC123 | 1/04/2025 | 7/04/2025 |
PQR123 | 24/03/2025 | 7/04/2025 |
XYZ123 | 31/03/2025 | 7/04/2025 |
How can I show the ID in clustered column where one column represent "Opened date" and other as "Closed Date"
I need a visual like below - Blue column - Opened Date and Green column - closed date
Y-axis has ID
Can you please let me know how is this possible as I can only take one date on x axis and the relationship i have doesnt allow 2 dates.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @AshishTabade,
Thank you for reaching out to the Microsoft fabric community forum. Thank you @lbendlin, for your inputs on this issue.
After thoroughly reviewing the details you provided, I was able to reproduce the scenario, and it worked on my end. I have used it as sample data on my end and successfully implemented it.
I took sample data my end below mentioned:
Then, unpivot the Date Columns. Select the Opened Date and Closed Date columns (hold CTRL to multi-select). Right-click and choose Unpivot Columns. Table looks like this below:
Rename “Attribute” to Date Type, and “Value” to something like Event Date if needed.
Go back to Power BI Report view. Add a Clustered Column Chart. Set up the chart like this: X-Axis: Event Date (or a month/year hierarchy if desired) Legend: Date Type (this will split Opened vs Closed into two colors/bars) Values: Use ID.
Output looks like below:
Also please refer to the below document for better understanding:
Customize X-axis and Y-axis properties - Power BI | Microsoft Learn
If this post helps, then please give us ‘Kudos’ and consider Accept it as a solution to help the other members find it more quickly.
Thank you for using Microsoft Community Forum.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @AshishTabade,
Thank you for reaching out to the Microsoft fabric community forum. Thank you @lbendlin, for your inputs on this issue.
After thoroughly reviewing the details you provided, I was able to reproduce the scenario, and it worked on my end. I have used it as sample data on my end and successfully implemented it.
I took sample data my end below mentioned:
Then, unpivot the Date Columns. Select the Opened Date and Closed Date columns (hold CTRL to multi-select). Right-click and choose Unpivot Columns. Table looks like this below:
Rename “Attribute” to Date Type, and “Value” to something like Event Date if needed.
Go back to Power BI Report view. Add a Clustered Column Chart. Set up the chart like this: X-Axis: Event Date (or a month/year hierarchy if desired) Legend: Date Type (this will split Opened vs Closed into two colors/bars) Values: Use ID.
Output looks like below:
Also please refer to the below document for better understanding:
Customize X-axis and Y-axis properties - Power BI | Microsoft Learn
If this post helps, then please give us ‘Kudos’ and consider Accept it as a solution to help the other members find it more quickly.
Thank you for using Microsoft Community Forum.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The DAX function you are looking for is USERELATIONSHIP.
Please provide sample data that fully covers your issue - including Y axis values.
Please show the expected outcome based on the sample data you provided.

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
06-12-2024 01:35 AM | |||
05-21-2024 05:07 AM | |||
01-23-2024 02:50 AM | |||
03-12-2024 05:57 AM | |||
05-22-2024 01:50 AM |
User | Count |
---|---|
19 | |
13 | |
5 | |
2 | |
2 |