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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Consta
Frequent Visitor

Visualising simple table as diagram

Hello!

Im new to Power BI.

I've got a table from excel (first image) which is illustraded as a linear graph in excel. (second image).

I want the same illustration in Power BI. So i want my x axis with years and quarters and the lines with the values given in the table. Like on 2020 Qtr 3 1 starting project, 2020 Qtr 4 4 starting projects etc..

 

Is this easy possible? I tried it and got some weird solutions. I dont know, maybe im just stupid.

Thanks for the help!

image.pngimage.png

1 ACCEPTED SOLUTION
v-henryk-mstf
Community Support
Community Support

Hi @Consta ,

 

According to your description, you need to modify your data model appropriately in power query. Converted to a table structure similar to the following. Then put the corresponding fields in the line chart visual, refer to the following:

vhenrykmstf_3-1632207523377.png

 

vhenrykmstf_0-1632207115633.png

vhenrykmstf_1-1632207129814.png

Note that the field type of value needs to be changed from text to whole number, otherwise an error will be displayed.

vhenrykmstf_2-1632207433469.png


If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


Best Regards,
Henry


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-henryk-mstf
Community Support
Community Support

Hi @Consta ,

 

According to your description, you need to modify your data model appropriately in power query. Converted to a table structure similar to the following. Then put the corresponding fields in the line chart visual, refer to the following:

vhenrykmstf_3-1632207523377.png

 

vhenrykmstf_0-1632207115633.png

vhenrykmstf_1-1632207129814.png

Note that the field type of value needs to be changed from text to whole number, otherwise an error will be displayed.

vhenrykmstf_2-1632207433469.png


If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


Best Regards,
Henry


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Consta , Transpose this table or unpivot in power query.

 

Then you should be able to use Qtr on axis

 

https://radacad.com/pivot-and-unpivot-with-power-bi
Transpose : https://yodalearning.com/tutorials/power-query-helps-transposing-data/

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors