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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.