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
Syndicate_Admin
Administrator
Administrator

How to create this double X-axis graph?

Hello.

I have created this graph in Excel and I would like to do it in powerBI, but I have tried but I do not succeed, for each year I have two columns of data.

Any ideas?

Greetings and thanks.

Aguirre_0-1646899434379.png

1 ACCEPTED SOLUTION
coskuersanli
Resolver III
Resolver III

Hi @Syndicate_Admin ,

 

You need to convert your data to something like below one. Use Year and Category columns in axis and Country in legend. Lastly, sort the visual by your columns (not measure) 🙂

 

CountryYearCategoryValue
SPAIN2017Target600
SPAIN2017Executed500
SPAIN2018Target600
SPAIN2018Executed555

View solution in original post

4 REPLIES 4
coskuersanli
Resolver III
Resolver III

Hi @Syndicate_Admin ,

 

You need to convert your data to something like below one. Use Year and Category columns in axis and Country in legend. Lastly, sort the visual by your columns (not measure) 🙂

 

CountryYearCategoryValue
SPAIN2017Target600
SPAIN2017Executed500
SPAIN2018Target600
SPAIN2018Executed555

Thanks for the reply, but I can't do it.

I have created a table as directed.

Aguirre_1-1646902549171.png

I have designed following in their footsteps, but the result is not what I want. The last step of not measuring I do not understand well, could I clarify and say that it fails me?

Thanks a lot.

Aguirre_0-1646902495515.png

Click this one please 🙂

 

coskuersanli_0-1646902870975.png

 

Ok.

Now yes, thank you very much.

Aguirre_0-1646903600873.png

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
Top Kudoed Authors