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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.