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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Recreate Line Chart from Excel in PowerBI

I am able to create this graph quite easily in Excel.  

 

Excel Visual.PNG

 

 

I am able to recreate the same table in Power BI however when I convert the table to a line graph, Power BI does something I can't wrap my head around. 

 

 

Power BI visual.PNG

 

 

 

How do I recreate the line chart from the Excel screen shot in PowerBI?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I figured it out. You have to format the data like this:

 

BI Friendly Format.JPG

 

Then PowerBI will accept the #Timestamp in the legend field.

View solution in original post

3 REPLIES 3
jshutters
Resolver I
Resolver I

After looking at your screen shots, it appears your X-axis is different.  In Power BI, try switching your x-axis field with the legend.

Anonymous
Not applicable

I figured it out. You have to format the data like this:

 

BI Friendly Format.JPG

 

Then PowerBI will accept the #Timestamp in the legend field.

Anonymous
Not applicable

Power BI will not allow me to drop my X-axis (Comment ID) into the Legend field. 

 

I'm not sure why. I assume it has to do with what type of data it is? I don't get an error, Power BI just refuses to accept the new Legend. 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors