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
alexoriginal
Frequent Visitor

Previous Month and Current Month side by side

 

Hello

I am trying to get  Prev-month-year  || Current-month-year  columns side by side  as  in the image shown

However Its seesm like the only way I can do this is manually.

Does anyone know a way  this can be done by just using a matrix /table so that the month show up automatically based on date ? ( See image) 

Capture.PNG

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Step 1:  Have a date column that is either formatted as MMM-YY  (I.e.  March-2018). Formatting can be achieved in the Modeling Tab of the ribbon -> Format

Step 2:  Have a matrix that will show the data you need.

Step 3: Place the date column into the "Column Area of the matrix"

Step 4: In the 'Visual Filter', filter by your date column using Relative Dates.  Select the appropriate settings to get the 2 months you want.

 

Does that handle what you were hoping for?

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Step 1:  Have a date column that is either formatted as MMM-YY  (I.e.  March-2018). Formatting can be achieved in the Modeling Tab of the ribbon -> Format

Step 2:  Have a matrix that will show the data you need.

Step 3: Place the date column into the "Column Area of the matrix"

Step 4: In the 'Visual Filter', filter by your date column using Relative Dates.  Select the appropriate settings to get the 2 months you want.

 

Does that handle what you were hoping for?

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.