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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Spooner
New Member

Quartlery Data

Hello everyone,

 


I am a brand new user of PowerBI and have been experimenting wtih the platform for the last few days, so please excuse me if this question is rudimentary.   I have spent considerable time watching youtube tutorials and reading this forum, but have not seen any clear way to create a trend line for multiple initiatives with the quarters on the X axis and values on the Y axis with data from an excel spreadsheet (excel data example below).

Power BI forum screen shot.PNG

When I try to create this visual, I either end up with the Inititaves on the X axis with each quarter showing as a single value, or with a single quarter on the X axis and the rest of the data plotting against that quarter.  I realize that many of the tutorials say to assign a single date column to an Axis (and I have used this correctly on other projects) but is there any way to have multiple quarters on the X axis with data for each Initiative without reformatting my entire excel spreadsheet (I am trying to avoid this as it is many thousands of rows)?

 

Thanks,
Spooner

 

 

4 REPLIES 4
Eric_Zhang
Microsoft Employee
Microsoft Employee

@Spooner

To apply the quarters to X axis, you can follow below steps.

  1. Click edit query
    Capture0.PNG
  2. Select the 6 columns and unpivot
    Capture.PNG
  3. Close the edit queries window and apply the change. In the powerbi desktop window, create a new column.
    Quarter = CONCATENATE( RIGHT('table'[Attribute],4), LEFT('table'[Attribute],2))
    Capture2.PNG
  4. Done
    Capture3.PNG

If you have any question, feel free to let me know.

mikes2nd
Helper I
Helper I

lets see what you want. Like this?

 

Line.jpg

Thanks Mike, but I actually want the inverse of that where the quarters are on the X axis and the various initiatives are the lines.  My issue is I am unable to get the quarters on the X axis!

Look into "transforming the query".

 

Click on "edit query" go into transform and transpose it.  This should work.

 

 

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