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
Matni
New Member

How to force Power Bi to show data as uploaded

Good morning, 

 

I'm having some trouble with a graph I'm trying to make showing sales data. The data I have is from September 2016 to August 2017 and that's how I've built it on my Excel sheet. 

 

However, whenever I upload the data and create a simple line graph, Power Bi changes the month order to be January - December. I've been pulling my hair out trying all kinds of different ideas on how to force it to stick to my data but it always reverts to the same layout. 

 

Any help would be greatly appreciated. 

 

G

6 REPLIES 6
prateekraina
Memorable Member
Memorable Member

Hi @Matni,

 

In order to understand the scenario and help you could you please tell us what are the columns in the table and what is the data type of them when you pull them into Power BI desktop from Excel.

Kindly share some screenshots if possible.

 

Prateek Raina

Hi Prateek, 

 

Thanks for the reply. 

 

The data is in 3 columns, 

  • A = Month [September 2017 - August 2017]
  • B = Units Sold [whole number]
  • C = Units Refunded [whole number]

This is how the graph is coming out as standard. 

PowerBi.JPG

 

The green line is the sales [B] and the grey line is the refunds [C]. I'm happy with all of it, I just need it to start in September and finish in August rather than January to December. 

Hi @Matni,

 

I am mostly interested in the data type of your Month column.

 

@prateekraina

Hi, 

 

It's set as the first of each month [Please note I'm in the UK and we do DAY|MONTH|YEAR

 

PowerBi 1.JPG

Hi @Matni,

 

I agree with @CahabaData.

 

@prateekraina

check in PBI that the Purchase Month field is indeed modeled as a Date/Time field rather than a Text field.,,,,if text, of course you should change it to Date.....

www.CahabaData.com

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.