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
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
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.