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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Aslam
Regular Visitor

Barcharts not representing in correct month order

Hi,

Can anyone help me,

My aim to get my bar diagram in a correct order( November 2021data should be left side and the latest data in right hand side).

Aslam_0-1663122382525.jpeg

 

 

My created time table data format is DD/MM/YY HH:MM:SS , However i just used only year and month

Aslam_1-1663122382526.jpeg

This is a line and cluster coloum chart

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Aslam , You should expand in that case so that year stays with the month and it gets sorted first by year and then a month. Seem like you have to use the next level 

 

or create a date table with month and year with the correct sort column(mark that as a sort column) and use that

 

Month Year = FORMAT([Date],"mmm-yyyy")
Month Year sort = FORMAT([Date],"yyyymm")

 

 

How to Create Sort Column and Solve Related Errors:
https://www.youtube.com/watch?v=KK1zu4MBb-c

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@Aslam , You should expand in that case so that year stays with the month and it gets sorted first by year and then a month. Seem like you have to use the next level 

 

or create a date table with month and year with the correct sort column(mark that as a sort column) and use that

 

Month Year = FORMAT([Date],"mmm-yyyy")
Month Year sort = FORMAT([Date],"yyyymm")

 

 

How to Create Sort Column and Solve Related Errors:
https://www.youtube.com/watch?v=KK1zu4MBb-c

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.