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

How to stop dates being combined into one summarised output

Hi all, 

 

Hoping there might be an easy and simple solution to my issue

 

I'm trying to create a line graph which shows multiple total price values across two different years. My axis has been set as the 'months' with the data starting from APR-2017 to OCT-2018. However, when looking at the graph it seems to be counting, for example, APR-2017 and APR-2018 as one entire value and not as two seperate value points. 

 

The APR-2017 value should show as:

 

808,612,145.31

 

and APR-2018 value 

 

207,275,319.21

 

Capture.PNG

 

Is there a way I can get Power BI to recognise the dates as individual months/years and to not combine them into one total value. 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi Sam, 

 

That's initially how I had it set out in the begining but using just the one field for the 'date' led to both april months being counted as one period.

 

I've found a solution, I've had to seperate the years and the months into two different fields in order for both months to be counted seperately. 

 

Thank you for your help though! 

 

Kind regards, 

 

Pav

View solution in original post

2 REPLIES 2
v-chuncz-msft
Community Support
Community Support

@Anonymous,

 

You may drag Date column to Axis field, and select Date Hierarchy.

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.
Anonymous
Not applicable

Hi Sam, 

 

That's initially how I had it set out in the begining but using just the one field for the 'date' led to both april months being counted as one period.

 

I've found a solution, I've had to seperate the years and the months into two different fields in order for both months to be counted seperately. 

 

Thank you for your help though! 

 

Kind regards, 

 

Pav

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.