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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Plotting dates on line chart

Hi, I want to achieve the below in Power BI. I tried the line chart and added Month to Axis and "Cat 1 Date" to Values and when I did that, PBI automatically counts the data values. Appreciate your help.

 

Date plotting.png

PS: I did this graph in excel and if 2 lines are not possible to be plotted, one line is fine too.

 

Thanks,

SN

2 REPLIES 2
v-yuta-msft
Community Support
Community Support

Hi srikanthnama,

 

In power bi, the values in Y-axis should be aggregation value which is unlike that in Excel. Date value can't be operated by SUM() or MEDIAN(), only can be counted. That's why the date value is counted in your line chart.

 

Regards,

Jimmy Tao

Anonymous
Not applicable

Thanks for your response Jimmy.

 

I agree that this is the most common use case but we do have a  need to plot unaggregated data on y axis. We can do this in Tableau and even in PBI we can do this using ChartAccent custom viz (I ended up on this viz after doing further research)

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

April Fabric Community Update

Fabric Community Update - April 2024

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