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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
schans11
Frequent Visitor

calculation in matrix

Hi,

 

I am currently trying to calculated weeks of supply in a Power BI matrix. This goes well for the lowest level (green, 201/7), but not for the aggregate level (red, 35828/2461). 

 

Which function should I use to do this?

 

I am currently using the below function.

 

schans11_1-1680255407672.png

 

 

 

schans11_0-1680255137176.png

 

1 REPLY 1
FreemanZ
Super User
Super User

hi @schans11 

why not using the [weeks supply] measure in the last column of your second screeshot ?

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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