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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! 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
Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors