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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Jermeister
Regular Visitor

Summary table from a table filtered by a variable

Hi,

 

I am trying the following:

I have build a pareto chart for production stops by doing the following:

I have a master table from which I created a Calculated table - filtering it by failure type.

From that table I built a 'Summary BD' table - summarizing the production stops by type.

Up to this point all works fine.

Question now is how I can add a date picker slicer to this 'Summary BD' - as it is summarized it holds not weeknumbers?

My idea was to have a slicer to pick the date - read in the value of the slicer and then build the 'Summary BD' table by using a FILTER command to set the weeknumber equal to the slicer value.

Another thing I thought about was using a relationship between tables - the only problem there is that it will not give unique relationships.

Can anyone tell me if it is possible to store the slicer value in a variable or measure you can use in a filter?

1 ACCEPTED SOLUTION
v-cherch-msft
Microsoft Employee
Microsoft Employee

Hi @Jermeister

 

You may use SELECTEDVALUE Function to store the slicer value in a variable.

 

Regards,

Cherie

 

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-cherch-msft
Microsoft Employee
Microsoft Employee

Hi @Jermeister

 

You may use SELECTEDVALUE Function to store the slicer value in a variable.

 

Regards,

Cherie

 

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

Top Solution Authors
Top Kudoed Authors