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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
emma313823
Helper V
Helper V

show items with no data not available if using a measure

All,

 

I have a measure I'm using as a means of dynamically always using the current year detail. There are some cells in my table that are blank and I want to force a value even if it is zero dollars ($0.00).  I'm seeing that if you select the visual, then values you should see 'show items with no data', but it is not available. 

 

I'm using a matrix table visual. Can anyone offer any asstance on how to force the visual to show $0.00?

 

CurrYrComm =
CALCULATE(SUM(tblIncomingCommissions[Check_Value]),
FILTER('Calendar_Dates',
Year('Calendar_Dates'[Date])=YEAR(Today())))
Emma
2 ACCEPTED SOLUTIONS
SamWiseOwl
Super User
Super User

Hi @emma313823 

 

Show items with no data only works if the Row exists and has no values.

I.e The row Company = A, Month = Jan, Sales = Blank()

If the row itself doesn't exist then Show items with no data won't work.

There are two ways to do it:

  1. In the query editor add the missing rows
  2. Create a table of Months and join that to the month column and then use this in the visual

 

Hope this helps!


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

View solution in original post

Anonymous
Not applicable

Hi All,

Firstly,  @SamWiseOwl thank you for your solution!

And @emma313823 according to my understanding,  I want to share another method.

You can add a COALCSCE function to your DAX function to potentially help you out, hope this helps.

CurrYrComm = COALESCE(
CALCULATE(SUM(example_commissions[Check_Value]),
FILTER('Calendar_Date',
Year('Calendar_Date'[Date])=YEAR(Today())
)
),0)

vxingshenmsft_0-1722473867868.png

Hope it helps!

Best regards,
Community Support Team_ Tom Shen

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

3 REPLIES 3
Ashish_Mathur
Super User
Super User

Hi,

In the Calendar Table, create a column of Year.  Drag Year from the Calendar Table into a slicer and select 2024.  Simplify your measure to

CurrYrComm = COALESCE(SUM(tblIncomingCommissions[Check_Value]),0)

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Hi All,

Firstly,  @SamWiseOwl thank you for your solution!

And @emma313823 according to my understanding,  I want to share another method.

You can add a COALCSCE function to your DAX function to potentially help you out, hope this helps.

CurrYrComm = COALESCE(
CALCULATE(SUM(example_commissions[Check_Value]),
FILTER('Calendar_Date',
Year('Calendar_Date'[Date])=YEAR(Today())
)
),0)

vxingshenmsft_0-1722473867868.png

Hope it helps!

Best regards,
Community Support Team_ Tom Shen

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

 

SamWiseOwl
Super User
Super User

Hi @emma313823 

 

Show items with no data only works if the Row exists and has no values.

I.e The row Company = A, Month = Jan, Sales = Blank()

If the row itself doesn't exist then Show items with no data won't work.

There are two ways to do it:

  1. In the query editor add the missing rows
  2. Create a table of Months and join that to the month column and then use this in the visual

 

Hope this helps!


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors