Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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.
Solved! Go to Solution.
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) 🙂
| Country | Year | Category | Value |
| SPAIN | 2017 | Target | 600 |
| SPAIN | 2017 | Executed | 500 |
| SPAIN | 2018 | Target | 600 |
| SPAIN | 2018 | Executed | 555 |
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) 🙂
| Country | Year | Category | Value |
| SPAIN | 2017 | Target | 600 |
| SPAIN | 2017 | Executed | 500 |
| SPAIN | 2018 | Target | 600 |
| SPAIN | 2018 | Executed | 555 |
Thanks for the reply, but I can't do it.
I have created a table as directed.
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.
Click this one please 🙂
Ok.
Now yes, thank you very much.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!