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

Regarding Line chart help !

i have two columns,

 

deptno   start date
10          31/01/2018 06:38:43
20          1/01/2018 06:38:43
10          2/01/2018 06:38:43
20         3/01/2018 06:38:43
20          1/01/2018 06:38:43
10         1/01/2018 06:38:43
30         3/01/2018 06:38:43
30        2/01/2018 06:38:43
30        2/01/2018 06:38:43

 

i want to draw a line chart.


the x-axis columns should be start date
y-axis coulmns should be dept-no

 

when i draw line chart,
on x-axis i am not able to see date and time,it is displaying only year.
on y axis it is showing sum of dept count.

here is the screenshot

 

Capture.PNG

could you please help me how to avoid this. instead of sum just it should show dept no based on date and time.

 

Thanks in advance

1 ACCEPTED SOLUTION
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous ,

Do you want to create the line chart like below with your data?

Capture.PNG

If it is, please note the setting below.

1. Use StartDate not Date Hierarchy in Axis field.

2. Set the X axis like this.

X axis.png

3. Show data lable and set Shape.

More details, please refer to my attachment.

Best Regards,

Cherry

 

Community Support Team _ Cherry Gao
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-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous ,

Have you solved your problem?

If you have solved, please 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 you still need help, please feel free to ask.

Best Regards,

Cherry

 

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous ,

Do you want to create the line chart like below with your data?

Capture.PNG

If it is, please note the setting below.

1. Use StartDate not Date Hierarchy in Axis field.

2. Set the X axis like this.

X axis.png

3. Show data lable and set Shape.

More details, please refer to my attachment.

Best Regards,

Cherry

 

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.