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
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
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.