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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

Exclude null date only when 'between' range is selected

I have a table similar to this

aqsa31_0-1697622329451.png

and a date slicer 

aqsa31_1-1697622384399.png

 

What I want is that when a date slicer is applied like in this case the table should display only two rows '23 Feb' and '26 Feb'. Not the other two rows where the started at is null. However when no date filter is applied the table should be the complete table including all the null dates like this 

 

aqsa31_2-1697622525710.png

Here is the pbix file 

https://we.tl/t-9bANgKt2l4

 

 

 

 

 

1 ACCEPTED SOLUTION

IsFiltered = IF(ISFILTERED('Table'[Started at]) && ISBLANK(SELECTEDVALUE('Table'[Started at])),0,1)

Create a measure like this and apply filter on the table to see only values where IsFiltered is 1.


When no filters:

bolfri_0-1697624084362.png



With filters:

bolfri_1-1697624119645.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

5 REPLIES 5
bolfri
Solution Sage
Solution Sage

Hi,

you can use https://wetransfer.com/ and share a link with pbix file. 🙂 It will be easier to help you with this challenge.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

Thank you so much, I have updated the post with the pbix file 

IsFiltered = IF(ISFILTERED('Table'[Started at]) && ISBLANK(SELECTEDVALUE('Table'[Started at])),0,1)

Create a measure like this and apply filter on the table to see only values where IsFiltered is 1.


When no filters:

bolfri_0-1697624084362.png



With filters:

bolfri_1-1697624119645.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

One more thing if you could help. I want the scorecards to be filtered as well , so in this case the value should show 2 instead of 4 

 

aqsa31_0-1697635229941.png

 

I tried applying the filter on this scorecard but it remains static and doesn't change 🤐

 

Anonymous
Not applicable

Wish I could accept it a million times, Thank youuu

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.