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
Vishruti
Helper I
Helper I

Plotting Date column on Y axis for Line Chart

Hello,

My requirement is to plot date column on Y axis and 2 fields on X axis - Product Risk Category (Low, Medium, High) and Product Names.

 

How can I achieve this?

5 REPLIES 5
v-menakakota
Community Support
Community Support

Hi @Vishruti ,

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

Thank you.

DineshYadl
Helper I
Helper I

Hi @Vishruti 

 

Line chart supports only measures in Y-axis . 

 

In addition, you can convert time format to numeric value.

 

Thanks

Hi,

Converting dates into numerical values is causing issue with sorting dates from earliest to latest

Hi @Vishruti 

 

It is not possbile to represent Date field in Line chart.

 

Thanks

manvishah17
Responsive Resident
Responsive Resident

Hi @Vishruti ,

  • Matrix Visual (Recommended for Hierarchy)

    • Date → Rows
    • Product Risk Category, Product Name → Columns
    • Any Measure → Values
  • Bar Chart (For Categorized Representation)

    • Date → Y-axis
    • Product Risk Category → X-axis (use Measure )
    • Product Name → Legend
  • Concatenated Column (If X-axis Needs Both Fields)

    • Create new column:
      DAX:
      ProductCategoryName = Product[Product Risk Category] & " - " & Product[Product Name]
    • Use this column on the X-axis instead of separate fields.



 

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

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