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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Unstructured Table

Hi Team,

 

Thank you so much for your help, now I have another query...

 

How can I work on Trend Analysis/Line chart in the below one.

 

screen.PNG

 

Thanks,

Kali

1 ACCEPTED SOLUTION
lkalawski
Super User
Super User

Hi Kalidass,

 

To create a trend chart, you have to unpivot the table.

Ex1.png

You will get this view and then use year and Value to build a trend line.

Ex2.png

Result:

Ex3.png

 



_______________
If I helped, please accept the solution and give kudos! 😀

View solution in original post

4 REPLIES 4
Icey
Community Support
Community Support

Hi @Anonymous ,

 

Is this problem solved?


If it is solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.


If not, please let me know.

 


Best Regards,
Icey

amitchandak
Super User
Super User

@Anonymous 

Unpivot the data create tables/dimensions for the Market, Keys and year to create star schema model

https://radacad.com/pivot-and-unpivot-with-power-bi

 

Market = distinct(all(Table[Market]))

Keys= distinct(all(Table[Keys]))

Year= distinct(all(Table[Year])) //You will get after Unpivot

 

Join them back with table

Refer:https://docs.microsoft.com/en-us/power-bi/guidance/

 

 

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
Pragati11
Super User
Super User

Hi @Anonymous ,

 

Before generating any trend/line chart, you will have to modify the structure of the data, so that you can have a DATE column on your x-axis on the chart.

For this what you can do is following:

  1. Go to Edit Query section.
  2. Naviagte to the data-set that you have shown below.
  3. Select all the date columns - 2020 to 2028.
  4. Go to Transform and Unpivot the selected columns.
  5. You will send up with following columns:
    • Markets
    • Keys
    • Attribute
    • Value
  6. Attribute column will have date values - 2020 to 2028. Rename this column to DATE or whatever you want.
  7. Now you can use this column to generate some trend chart.

 

If this helps and resolves the issue, appreciate a Kudos and mark it as a Solution! 🙂

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

lkalawski
Super User
Super User

Hi Kalidass,

 

To create a trend chart, you have to unpivot the table.

Ex1.png

You will get this view and then use year and Value to build a trend line.

Ex2.png

Result:

Ex3.png

 



_______________
If I helped, please accept the solution and give kudos! 😀

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.