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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
luisss
Frequent Visitor

Measures in matrix missing values

Hi Guys,

 

For the start, my visual:

 

luisss_2-1685462998594.png

 

This is a matrix to show some operational KPI's.

 

My problem:

 

I have the values for Rooms Available and Room Sold in a table, day by day. Occupancy should be the division of rooms sold by rooms available. I have a measure [actuals] that calculate values for each row:

luisss_3-1685463173345.png

 



That is what I have in the measure OCC:


luisss_1-1685462823623.png

As you can see, there is no value in the Occupancy row (I have no values in the table,). 
I think is because of the row context filter, no ?

I need to keep all the filters active in the slicers also.

 

What am i missing?

 

Thank you!

 

3 REPLIES 3
amitchandak
Super User
Super User

@luisss , formula seem fine.

 

Try these variations

 

calculate(Sum(A_POWER_BI1202[SL]), filter(all(Esturatura[Rubric]) ,Esturatura[Rubric] = "Room Sold" ))

 

or

 

calculate(Sum(A_POWER_BI1202[SL]), filter(all(Esturatura) ,Esturatura[Rubric] = "Room Sold" ))

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

luisss_0-1685525458294.png

Some updates: 
if i use "Rubrica" collum, all works fine( table on the middle) , but if i use"Rubric" not ok. 
What i want if on the blue matrix on the left, show 65.77% in the "Occupancy" row. (nevermind the raged hierarchy, i'll deal with that later 😉 )


Here is the link for pbix file: Pbix 

Thanks



luisss
Frequent Visitor

More update:

luisss_0-1685530713892.png

If i use instead of a calculation (Rooms Solds/Rooms Available) a collum of the Estrututra table it works.

luisss_1-1685530859001.png

 

if i use 1500/2 also works!

So the problem is doing the calculation based on the values of the table where are the values of rooms solds and rooms available

 



Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors