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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

Calculated Fields in a matrix

Hi,

 

I have a matrix that pulls through the below information:Screen Shot 2019-07-01 at 16.41.47.png

I need to add some calulated fields onto the matrix based on the data it has grouped already. 

 

Below is an example of the columns needed to be added on shown in red:

Screen Shot 2019-07-01 at 16.41.54.png

Can anyone advise the best wy to perform these calculations based on a matrix or an alternative way to achieve what i am trying to do?

 

Many thanks,

 

Phil

 

1 ACCEPTED SOLUTION
v-xuding-msft
Community Support
Community Support

Hi @Anonymous ,

If the columns in the matrix is the separate column in the original table. There is a way using calculated columns to implement. If not, please post the simulated original table.

 

Create the calculated columns

1.jpg

Used Time = Table1[Absence]+Table1[Billable Time]+Table1[Non Billable Time]+Table1[Pitch Time]+Table1[Internal Time]

Max Billable Hours = Table1[Used Time] / Table1[Absence]

Available Hours = Table1[Basic Time] - Table1[Absence]

2.jpg

Best Regards,

Xue Ding

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-xuding-msft
Community Support
Community Support

Hi @Anonymous ,

If the columns in the matrix is the separate column in the original table. There is a way using calculated columns to implement. If not, please post the simulated original table.

 

Create the calculated columns

1.jpg

Used Time = Table1[Absence]+Table1[Billable Time]+Table1[Non Billable Time]+Table1[Pitch Time]+Table1[Internal Time]

Max Billable Hours = Table1[Used Time] / Table1[Absence]

Available Hours = Table1[Basic Time] - Table1[Absence]

2.jpg

Best Regards,

Xue Ding

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.