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! Learn more

Reply
JuhaU
Regular Visitor

Control another measure with other

Hi

 

I have a following matrix in a report

 

Row Labels Sum of TotalStock Sum of ProductionAmount YTD

JuhaU_0-1651478910093.png

 

I would like Production Amount YTD to be excluded if Total stock is empty like in a6 row. This is easy that row, but how can I can exlude that in sum level (row a). So the final report should look like this

 

Row Labels Sum of TotalStock Sum of ProductionAmount YTD

JuhaU_1-1651478959337.png

 

TotalStock is a measure 

 

BR Juha

1 ACCEPTED SOLUTION
JuhaU
Regular Visitor

Hi

 

As usual I found the solution immediatly after posting a question. Simple measure filter will do the trick.

 

Br Juha

View solution in original post

3 REPLIES 3
JuhaU
Regular Visitor

Hi

 

As usual I found the solution immediatly after posting a question. Simple measure filter will do the trick.

 

Br Juha

amitchandak
Super User
Super User

@JuhaU , Try measures like

If(isblank(Total stock is empty) ,[Production Amount YTD], blank())

 

or

 

Sumx(summarize(Table, Table[Row Col1], Table[Row Col2], "_1",If(isblank(Total stock is empty) ,[Production Amount YTD], blank())  ), [_1]

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

Hi

 

This will work in detail level (a1-a7), but not in summarized level since totalstock isn't blank there. 

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