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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
RTAFleetMaint
New Member

Exclude certain Data

Basically I am creating a report using SQL data to show sales leads that have not been contacted since 2016. I would like to remove the company from the list if there is an entry in the notes for 2017 while still keeping other entries if their last entry was 2016 or earlier, is this possible?

1 ACCEPTED SOLUTION
CahabaData
Memorable Member
Memorable Member

Assuming you have a Date field in your data set;  

 

There are Visual Level Filters - so that in your visual, with that Date Field included - you can filter out the recently contacted with a Less Than parameter - this is in the visual design pane on right.

 

Or if you want to model your data at the table level - it can be done via Query Editor - perhaps make a No Contact Table -  where you duplicate the core table but with a filter parameter in its definition. 

www.CahabaData.com

View solution in original post

4 REPLIES 4
CahabaData
Memorable Member
Memorable Member

Assuming you have a Date field in your data set;  

 

There are Visual Level Filters - so that in your visual, with that Date Field included - you can filter out the recently contacted with a Less Than parameter - this is in the visual design pane on right.

 

Or if you want to model your data at the table level - it can be done via Query Editor - perhaps make a No Contact Table -  where you duplicate the core table but with a filter parameter in its definition. 

www.CahabaData.com
MFelix
Super User
Super User

Hi @RTAFleetMaint,

This can be done in at least two different ways assuming that the year is identified in your data table (as date or as year).

Option 1

In query view filter the year columb with below 2017 data. If you want in 2018 chabge this you will need to go to your query and redo the filter.

Option 2
In PBI view add a slicer or a filter in the report and again filter out the 2017 data.

This option alllows you to have users selecting if they want to see 2017 or not.

Regards,
mfelix

Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



Well I can exclude 2017 but it doesn't exactly give me what I want, because companies may have notes in 2017 meaning they were contacted in 2017. I really want to just get rid of the company from the report alltogether if they had a note anytime in 2017. Basically it would only show me companies that had a last contact date of 2016 but not higher than 2016

Do you have a note date field? Do the filter on that column.

MFelix

Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.