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
Anonymous
Not applicable

How to Create Graph with Measures as X-axis

I am trying to create a bar chart with measures for the x-axis but can't quite get it.

 

I have a table of contracts, with their final status and dates associated with those statuses. I have created measures to evaluate the status and return a "LIVE" status as per the parameters of a date slider. To do this, I implement a disconnected tables method.

 

Data table:

 

Sub CompanyContract StatusContract Begin DateContract Signed DateContract Freeze DateContract Closed Date
Client-100020Closed8/17/20208/4/2020 10/6/2020
Client-100071Frozen5/24/20211/15/20211/23/2022 
Client-100159Closed5/24/20214/19/2021 10/2/2021
Client-100170Closed2/5/20212/4/2021 8/3/2021
Client-100237Closed12/31/202011/4/2020 3/9/2021

 

Data table with LIVE status:

 

Sub CompanyContract StatusContract Begin DateContract End DateLIVE Status
Client-100020Closed8/17/202010/6/2020Closed
Client-100071Frozen5/24/20211/23/2022Open
Client-100159Closed5/24/202110/2/2021Open
Client-100170Closed2/5/20218/3/2021Open
Client-100237Closed12/31/20203/9/2021Open

 

Now, I need to create a bar chart of a count of these clients, based off of the LIVE status.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Oof, I have to improve my Google-Fu. The solution to this very often-asked question can be found in this video by RADACAD - DAX Measure in the Axis of the Power BI Report 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Oof, I have to improve my Google-Fu. The solution to this very often-asked question can be found in this video by RADACAD - DAX Measure in the Axis of the Power BI Report 

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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