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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
LevMalyi
New Member

Showing value per date time

Hi community,

 

I have a data from the SQL query:

LevMalyi_0-1706868214316.png

 And I want to put in the graph to show how value is changing with the exact time.

 

When I try to do it via Line chart I get different cases, with each one is not what I need. Sometimes it makes Count of the DateTime, sometimes it does count of the vValue, sometimes it does sum.

LevMalyi_1-1706868400437.pngLevMalyi_2-1706868432481.png

 

Im definately doing something stupid, bit I can't find the right setup for it. Can you please help me with it?

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @LevMalyi ,

 

Based on the information you provided, this is the default aggregation function for fields with date hierarchies. When the x-axis is year, the value field on the y-axis is aggregated by default based on year.
Below way to get the results you want:
cancel the date column hierarchy.

vkongfanfmsft_0-1707121258049.png

vkongfanfmsft_1-1707121269878.png

vkongfanfmsft_2-1707121281616.png

 

Best Regards,
Adamk Kong

 

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

4 REPLIES 4
Anonymous
Not applicable

Hi @LevMalyi ,

 

Based on the information you provided, this is the default aggregation function for fields with date hierarchies. When the x-axis is year, the value field on the y-axis is aggregated by default based on year.
Below way to get the results you want:
cancel the date column hierarchy.

vkongfanfmsft_0-1707121258049.png

vkongfanfmsft_1-1707121269878.png

vkongfanfmsft_2-1707121281616.png

 

Best Regards,
Adamk Kong

 

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

 

Hi @Anonymous ,

Thank you, it solved the issue with the Date, but my values are still showing as a sum, instead of real values, the same as on your picture 🤔

amitchandak
Super User
Super User

@LevMalyi , Default aggregation on Date, datetime and Text column would be count, and you will not get sum option.

 

For numeric it will be sum.

 

You can create measure with choice of aggregation

 

M1=  Sum(Table[Value])

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi @amitchandak, thank you for your message.

My understanding, that I don't need a SUM. I want to have a graph with Value on the Y axis and DateTime on the X axis, but when I place those variables on that axis, I get everything except what I need.

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 Solution Authors