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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
noliverte
Helper III
Helper III

Sort data (mixing day date and month date). How to do it ?

Hi guys,

 

I have severals tables in my modeling view...

 

all tables are linked based on Date and Brand fields

4.png

 

1.png

 

2.png

 

 

3.png

 

In all my pages I have two segments component (date and brand) which sort my data in the way I want...

 

I want to add one more table but I only have the month and the number of the year... I can't have the detail day by day

Capture d’écran 2020-02-28 à 21.11.51.png

 

How it's possible mixing day and month to use my existing date segment ?

 

Any help would be appreciated. 

 

Thanks,

Han

 

 

 

1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

Hello @noliverte 

You can add a column (month-year date) to the table you want to add in that is the date of the first day of the month year so for 09-2015 it would be 1/9/2015.  For 10-2015 it would be 1/10/2015.  Once you have that you can link it into your regular date table.

 

month-year month-year date
09-2015 1/9/2015
09-2015 1/9/2015
10-2015 1/10/2015
10-2015 1/10/2015
11-2015 1/11/2015

 

You join the table on the [month-year date] column

View solution in original post

2 REPLIES 2
jdbuchanan71
Super User
Super User

Hello @noliverte 

You can add a column (month-year date) to the table you want to add in that is the date of the first day of the month year so for 09-2015 it would be 1/9/2015.  For 10-2015 it would be 1/10/2015.  Once you have that you can link it into your regular date table.

 

month-year month-year date
09-2015 1/9/2015
09-2015 1/9/2015
10-2015 1/10/2015
10-2015 1/10/2015
11-2015 1/11/2015

 

You join the table on the [month-year date] column

Hello,

 

Very easy solution and it works, thank you.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.