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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

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.