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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
hoshisato
Regular Visitor

Plotting a date against two values insists on doing calculations with the values

Hello, 

I have a column of dates that I want to have on the X-axis and I want to graph the number of events that were approved and the number of events that were rejected on these days. I don't want Power BI to do anything with the numbers, just plot them for each day. When I click on the dropdown options for the values, I can do lots of calculations with them but not use it as is without any calculations, or so it seems.

 

The data I have spans 3 years, and no matter what I try in Power BI, the resulting graph only has 3 points whereas I was hoping to get a line following the values for each day over the 3 years. 

 

How do I make a graph that simply plots the two lines of numbers against a day?

 

Thanks for your suggestions,

 

Hans

1 ACCEPTED SOLUTION

Found it, on the X-axis I needed to selext 'date' instead of the default 'date hiearchy' 

View solution in original post

9 REPLIES 9
Anonymous
Not applicable

You can click on the column and select "Dont Summarize" option from the Modelling Tab. And then try plotting the graph.

snapshot.PNG

Thanks for your reply, the 'don't summarize' is set all the colums yet it does summarize. 

Anonymous
Not applicable

Okay, then you need to just plot the Date on the X axis and the Events on the Y axis. In the dropdown for values, choose "Sum".

 

 

Anonymous
Not applicable

Also, go to the formatting pane and set the X axis Type to "Categorical".Snap.PNG

 

Thanks for following up, the graph still has only 3 data points (for each year one) while I have over 600 days worth of data in my SQL table and hope to display a graph plotting the differnet values. 

Anonymous
Not applicable

Are you using Date Hierarchy? If yes, then remove the hierarchy from X-Axis and select Date. 2.PNG

 

Then you can have the graph like this :

1.PNG

 

If still you are facing the issue, please share the pbix or any sample so that I can help you further. 

 

 

Found it, on the X-axis I needed to selext 'date' instead of the default 'date hiearchy' 

v-chuncz-msft
Community Support
Community Support

@hoshisato,

 

You may take a look at link below.

http://community.powerbi.com/t5/Desktop/Trend-from-History-Table/m-p/200304#M88115

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
hoshisato
Regular Visitor

Hello, 

I have a column of dates that I want to have on the X-axis and I want to graph the number of events that were approved and the number of events that were rejected on these days. I don't want Power BI to do anything with the numbers, just plot them for each day. When I click on the dropdown options for the values, I can do lots of calculations with them but not use it as is without any calculations, or so it seems.

 

The data I have spans 3 years, and no matter what I try in Power BI, the resulting graph only has a 3 points whereas I was hoping to get a line following the values for each day over the 3 years. 

 

How do I make a graph that simply plots the two lines of numbers against a day?

 

Thanks for your suggestions,

 

Hans

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.