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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
gaccardo
Advocate II
Advocate II

How to I get summarized results of a filtered table?

I have a table called Bugs.  It has numerous attributes, such as functional area, state, impact, etc. in addition to a calculated column call [Days Open]. I also have a summary table, created as follows:

 

Bug Summary = 
  SUMMARIZE( 
    'Bug',
    'Bug'[Created Date],

    "Count", COUNT('Bug'[Days Open]),
    "Average Days Open", AVERAGE('Bug'[Days Open]), 
    "Min Days Open", MINA('Bug'[Days Open]), 
    "Max Days Open", MAXA ('Bug'[Days Open])
  )

The report also has numerous slicers that filter the bug table by the various attributes. I would like to see the summary based not on the entire bug table, but only on the bugs that are selected by the various slicers.   In other words, as I update the slicers, I would like to recalculate the summary table.  How can I do this?  Any help is greatly appreciated. 

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

Hi @gaccardo,

 


I would like to see the summary based not on the entire bug table, but only on the bugs that are selected by the various slicers.   In other words, as I update the slicers, I would like to recalculate the summary table. 

No. It is not possible to achieve such a requirement. The same as calculated column, a calculated table (the summary table here) is static once it has been initilized. It won't be recalculated when you update slicer selection. Only measure can return dynamical results based on slicer.

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
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

4 REPLIES 4
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @gaccardo,

 


I would like to see the summary based not on the entire bug table, but only on the bugs that are selected by the various slicers.   In other words, as I update the slicers, I would like to recalculate the summary table. 

No. It is not possible to achieve such a requirement. The same as calculated column, a calculated table (the summary table here) is static once it has been initilized. It won't be recalculated when you update slicer selection. Only measure can return dynamical results based on slicer.

 

Regards,

Yuliana Gu

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

Thank you @v-yulgu-msft.  I will redesign the report to avoid needing such a table.

Anonymous
Not applicable

Hi @gaccardo

 

You can use the FILTER .

 

SAy for example, you have category slicer from BUG table, and you want the sumamry table to be updated based on the user selection.

 

Replace the table name in your summarize function as below:

 

FILTER ( BUG, BUG[Category] = SELECTEDVALUE(BUG[Category] ) )

 

Hope this works for you.

 

Thanks

Raj

 

Thank you for your reply @Anonymous.  I tried the DAX below, but it does not work properly.  It shows exactly the same results regardless of the values selected in the slicer.  I've also tried using ALLSELECTED('Bug'), but it, too, gives the same results.  I suspect that the SUMMARIZE is running when there is no context for SELECTEDVALUE and that a much different solution is required.

 

Bug Summary = 
  SUMMARIZE( 
    FILTER ( 
      'Bug', 
      'Bug'[State] = SELECTEDVALUE('Bug'[State] )
    ),
    Bug[Created Date Only],

    "Count", COUNT(Bug[Days Open]),

    "Days Open Average", AVERAGE(Bug[Days Open]), 
    "Days Open Minimum", MINA(Bug[Days Open]), 
    "Days Open Maximum", MAXA (Bug[Days Open])
    
  )

 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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