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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
krixtsup3r
Helper V
Helper V

Filtering/Slicer Suggestion

Hi All, can I get some suggestion on how can I accomplish this. The scenario is that I have two columns in a table and I want to create a table visual that would create an inclusion or exclusion list. The sample data is user_id & project_id.

 

Creating inclusion list of users is easy as I you can use slicers and select the project_id but I am having a hard time to create an exclusion list of users, these are users that doesn't have a project id. Example scenario below and how the output should look like:

   Selected project_id Selected project_id
   1 1
user_idproject_id Inclusion List Exclusion List 
A11 A1 A3
A21 A2 A4
A12    
A32    
A13    
A23    
A44    
A14    

 

Do I need to create a DAX formula for this or is this something I need to do in Power Query?

1 ACCEPTED SOLUTION
ThxAlot
Super User
Super User

Exclusion.pbix

 

First of all, PQ doesn't interact with viz canvas at all; any change on report / data / model view doesn't influence PQ.

 

As to your question, it's fairly easy

ThxAlot_1-1685076990996.png



Expertise = List.Accumulate(


        {Days as from Today},


        {Skills and Knowledge},


        (Current, Everyday) => Current & Day.LearnAndPractise(Everyday)


)



View solution in original post

2 REPLIES 2
ThxAlot
Super User
Super User

Exclusion.pbix

 

First of all, PQ doesn't interact with viz canvas at all; any change on report / data / model view doesn't influence PQ.

 

As to your question, it's fairly easy

ThxAlot_1-1685076990996.png



Expertise = List.Accumulate(


        {Days as from Today},


        {Skills and Knowledge},


        (Current, Everyday) => Current & Day.LearnAndPractise(Everyday)


)



Awesome! Thank you!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.