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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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