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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. 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/

 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors