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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Vadim_Drevin
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!

 

1 REPLY 1
v-caliao-msft
Microsoft Employee
Microsoft Employee

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.

Capture.PNG

 

 

Regards,

Charlie Liao

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors