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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors