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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
Anonymous
Not applicable

calculate in the table matrix

I'm newbie with the matrix.  Need help to calculate in the matrix table and i will ad

 

rockdotnet_0-1670825700436.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

i solved it already, i changed the sumx() to averagex()

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

my only problem is the total now.  I want the total to be in the average total 

rockdotnet_0-1670916562138.png

 

Anonymous
Not applicable

i solved it already, i changed the sumx() to averagex()

v-jialluo-msft
Community Support
Community Support

Hi  @Anonymous ,

 

Please follow these steps:
(1) Create a new column measure

Divide = DIVIDE((MAX('Table'[Visit])*MAX('Table'[Ave.LOS])),(MAX('Table'[Bed Count])/MAX('Table'[Day/Month])),0)


(2)Final output

vjialluomsft_0-1670911460649.png

 

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

Anonymous
Not applicable

I used this measure and is working perfectly
 
Occupancy Rate =
SUMX('OSR-LOS All',        
        ((('OSR-LOS All'[IPD_Visit] * 'OSR-LOS All'[AverageLOS]) / ('OSR-LOS All'[BedCount] * 'DAX Table'[LOS Days/Month])) * 100) / 100
  )
 

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

Check out the October 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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

Users online (2,397)