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
Scholes
Frequent Visitor

Matrix, Filter a measure, show items with no values per category

Hi,

 

I have a simple measure which is: 

Actuals rent M-1 VV = CALCULATE([Income VV],DATEADD(Kalender[Datum],-1,MONTH))
When showing this in a matrix with the condition that also items with no values are shown. I get the below result.
I need now that the measure will only show for category A the values which are not blank = ZEROS. For category B I want to see the BLANKS and ZERO values.
 
Scholes_0-1719478974126.png

 

 
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Scholes ,
Here some steps that I want to share, you can check them if they suitable for your requirement.
Here is my test data:

vheqmsft_0-1719541960636.png

Create a measure

Measure = 
IF(
    SELECTEDVALUE('Table'[Category]) = "A" && SELECTEDVALUE('Table'[Value]) = 0,
    0,
    1
)

Set the category as show item with no data

vheqmsft_1-1719542029254.png

Apply the measure to th matrix filter and set it as 1

vheqmsft_2-1719542082987.png

Final output

vheqmsft_3-1719542104155.png

 

Best regards,
Albert He

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

2 REPLIES 2
Scholes
Frequent Visitor

 Hi thanks for the help. The measure works but the only thing is I also want to  see A 3 which is zero. This value is now not shown.

 

Update: I figured out this could easily be resolved by 

&& ISBLANK([Measure])
Anonymous
Not applicable

Hi @Scholes ,
Here some steps that I want to share, you can check them if they suitable for your requirement.
Here is my test data:

vheqmsft_0-1719541960636.png

Create a measure

Measure = 
IF(
    SELECTEDVALUE('Table'[Category]) = "A" && SELECTEDVALUE('Table'[Value]) = 0,
    0,
    1
)

Set the category as show item with no data

vheqmsft_1-1719542029254.png

Apply the measure to th matrix filter and set it as 1

vheqmsft_2-1719542082987.png

Final output

vheqmsft_3-1719542104155.png

 

Best regards,
Albert He

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

 

 

 

 



Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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
Top Kudoed Authors