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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
mikesdunbar
Frequent Visitor

Show items without data, but with visual filters

I'm working on a problem tracking database, and need to filter some things like 

  • Pending items in the past 90 days
  • Number of pending for discipline 

For the example highlighted, I used Filters on this Visual, for the last 90 days, and Status as Pending. What I want to see in that table are all the other disciplines with a value for zero or blank. I tried using Show items with no data and it doesn't do that.

 

mikesdunbar_1-1718389817852.png

 

 

1 ACCEPTED SOLUTION
Daniel29195
Super User
Super User

  

sample data ; 

 Daniel29195_0-1718446326068.png

try the following : 
create a new table called

dimdiscipline = distinct ( tbl_name[discipline]) 

 

link this table as 1 to many to your original table :  discipline to discipline. 

Daniel29195_1-1718446337578.png 

now create a measure : 

Measure =
SWITCH(
TRUE(),
not ISEMPTY(treatas(VALUES('Table'[c]),t[c])),CALCULATE(SUM('Table'[qty])), 0
)
Daniel29195_2-1718446385033.png

 

 

 

 

 

If my answer helped sort things out for you, i would appreciate a thumbs up 👍 and mark it as the solution
It makes a difference and might help someone else too. Thanks for spreading the good vibes! 🤠

 

View solution in original post

1 REPLY 1
Daniel29195
Super User
Super User

  

sample data ; 

 Daniel29195_0-1718446326068.png

try the following : 
create a new table called

dimdiscipline = distinct ( tbl_name[discipline]) 

 

link this table as 1 to many to your original table :  discipline to discipline. 

Daniel29195_1-1718446337578.png 

now create a measure : 

Measure =
SWITCH(
TRUE(),
not ISEMPTY(treatas(VALUES('Table'[c]),t[c])),CALCULATE(SUM('Table'[qty])), 0
)
Daniel29195_2-1718446385033.png

 

 

 

 

 

If my answer helped sort things out for you, i would appreciate a thumbs up 👍 and mark it as the solution
It makes a difference and might help someone else too. Thanks for spreading the good vibes! 🤠

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.