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

Matrix Visual - Multiple Data Types

Hi everyone,

 

I'm looking to get the following output using the matrix visual but I can't seem to make it work. 

I have the start and end dates but I would like to calculate the duration as well and have it appear in this format:

 

DateOriginalActual
Start DateJan 1, 2022Jan 10, 2022
End DateMarch 5, 2022April 15, 2022
Duration6395

 

Thank you for looking!

2 REPLIES 2
boris_s_hansen
Regular Visitor

Hi PijushRoy

I'm trying to re-produce the same table as powebifan. I'm following your guide, but I'm not able to drag to values in the matrix. What am I doing wrong? Any help appreciated 🙂

Kind regards,

Boris.

PijushRoy
Super User
Super User

Hi @powebifan 

Go to Power Query Editor
Select the Date Column and Unpivot Other Column
01.JPG

 

Load the Data and Arrange as Matrix Table as below image
0.JPG

 

After than, change Sort by in Matrix Visual for arranging your data
0.JPG

 

Change the date format as per your requirement


If solve your requirement, please mark this answer as SOLUTION
If this comment helps you, please LIKE this comment/Kudos

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.