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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

How to plot a line chart without aggregating

Good Day.

I am trying to make a project that models COVID-19.

 

I have the following data:

martinso99_0-1642551052968.png

 

Where column 1 is text

- date is in the date format,

-  columns from total_cases  to total_recoveries are in a whole numbe format.

 

I am trying to create a line plot that observes each number from total_cases for the day that occured: 

 

Please reference the sketch below  (I plotted the first 4 rows)

martinso99_1-1642551432559.png

 

When I try to do it on PowerBI,  the plot just renders this

martinso99_2-1642551490777.png

 

I tried to turn off summation by going to column tools tab and turning it off but I dont have much luck..

 

Can anyone help me out? 

 

Thanks!

 

1 ACCEPTED SOLUTION
v-yanjiang-msft
Community Support
Community Support

Hi @Anonymous ,

In your screen shot, it shows "Count of total cases by Year", it means the count of date which has case in the year 2020, 2021, 2022. So in your screen shot line chart there's only three value.

Just keep the Summarization of the total cases column Sum.

vkalyjmsft_0-1642758982331.png

The Values should also be Sum.

vkalyjmsft_1-1642759063626.png

The Axis should be date, not year.

vkalyjmsft_2-1642759287454.png

I attach my sample below for reference.

 

Best Regards,
Community Support Team _ kalyj

 

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-yanjiang-msft
Community Support
Community Support

Hi @Anonymous ,

In your screen shot, it shows "Count of total cases by Year", it means the count of date which has case in the year 2020, 2021, 2022. So in your screen shot line chart there's only three value.

Just keep the Summarization of the total cases column Sum.

vkalyjmsft_0-1642758982331.png

The Values should also be Sum.

vkalyjmsft_1-1642759063626.png

The Axis should be date, not year.

vkalyjmsft_2-1642759287454.png

I attach my sample below for reference.

 

Best Regards,
Community Support Team _ kalyj

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Greg_Deckler
Community Champion
Community Champion

@Anonymous Set your x-axis to be the date instead of the Date Hierarchy for starters. You do that in the field well of the Visualizations pane for the Axis. You might also want to use a Categorical axis instead of Continuous.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors