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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
bkoeppler
Regular Visitor

IF ISBLANK Function Showing Zeroes for Unrelated Matrix Columns

Hello, 

 

I have a matrix which uses a hierarchy relationship that is joint across two dimensions. The milestone dimension allocates each System in the systemisation dimension a milestone from 1-5, the systemisation dimension then relates to 3 seperate fact tables. 

bkoeppler_0-1694485821861.png

I would like the matrix to show all systems for each milestone and if there is no data for them, show the values as a zero.

 

When I don't use any DAX functions calling e.g. IF(ISBLANK(Calc),0,Calc), it only shows systems relevant to that milestone. However when I include an IF(ISBLANK) function, it shows every system under every milestone, even when not relevant.

 

bkoeppler_1-1694486942936.pngbkoeppler_2-1694486992368.png

 

 

1 REPLY 1
amitchandak
Super User
Super User

@bkoeppler , when you +0 or kind handle blank, it starts doing left/full join in favor of dimension. So you will get all values.

To avoid that you have again remove values not needed

 

example of date range

 

0 between range
Measure = var _1= SUM(Opportunity[Opportunity count]) +0
var _min = minx(ALLSELECTED('Calendar'), 'Calendar'[Date])
var _max = maxx(ALLSELECTED('Calendar'), 'Calendar'[Date])
return
if(max('Calendar'[Date]) <_min || max('Calendar'[Date]) >_max , 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

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.