Skip to main content
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Frequent Visitor

Two dates on X-axis based on 2 dimensions AND one measure on Y-axis

Hello Community!

I have a simple case but can't solve it with PowerBI, so I need an advice.


I have MS OLAP Cube and I connected to it using Power BI.

I have fact table "FACT" with a lot of columns including 2 ones: "Open Time" and "Close Time".

I have 2 dimensions "Dim_Open_Date" and "Dim_Close_Date". Both dimensions with hierarchy like Year-Quarter-Month-Day.

I have a simple measure called "Entites Count" - just a count of rows.

I want to create a visual like "Clustered column chart" where on X-axis I will have date hierarchy (Y-Q-M-D) and on Y-axis I will have my measure "Entites Count" - left bar biuld on "Dim_Open_Date" and right bar build on "Dim_Close_Date".

That's it. Will be appreciate any piece of advice. Thank you!



Hi @Vadim_Drevin,


This issue is more related to MDX query, if you can get "Open date Entites Count" and "Close date Entites Count" in your MDX, then you can create this bar chart easily. So you need to create those two measure in your cube. Here is the sample query for you reference.





Charlie Liao

Helpful resources

Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City


Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors