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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
rakeshgali
Regular Visitor

include/Exclude column based on selectedvalues

hi All,

 

we have a model with SALES TABLE with FISCAL QUARTER column and also period table with Fiscal quarter column. we are using fiscal quarter from period table as slicer to filter the dashboard. we created measures and its working fine but we want to create one include/Exclude column in Sales table which we can use as filter to  include/Exclude values.

 

Please note that we were able to create measure but we want to create column. adding this measure in the filter like include/Exclude contains "Include" is working but kind of taking of lot of time and see performance is really bad.

 

Please suggest. Thank you in advance

 

Example : when i select 2023-Q1 in the fiscal quarter slicer from period table 

 

i want my exclude/Include column values to be populate as shown below so that we can use this include/exclude column in filters 

 

FISCAL_QUARTERSALES INCLUDE/EXCLUDE
2023-Q11000INCLUDE
2023-Q22000EXCLUDE
2023-Q33000EXCLUDE
2023-Q44000EXCLUDE
2024-Q13000EXCLUDE
2024-Q24000EXCLUDE
2024-Q31000EXCLUDE
2024-Q45000EXCLUDE
1 REPLY 1
amitchandak
Super User
Super User

@rakeshgali , Please note that a calculated column can not take slicer value. You have to use a measure

 

Power BI Exclude selected Slicer value, Independent Table: https://youtu.be/lOEW-YUrAbE

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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