Forum Discussion

littlemojopuppy's avatar
littlemojopuppy
Community Champion
7 years ago
Solved

Dynamically Filtering Table Records by Parameter

Hi!  Would like to ask for some help with something if anyone is willing...

I've developed the underlying data to do some rather nice Pareto analysis.


Now as a second part of this, I have a grid that is intended to show records that equal or exceed a certain percentile value.  The first slicer from the top left is intended to filter which records are ACTUALLY SHOWN in the grid below (not modifying any measures!)


The best solution I could think of is to filter the source data table for the selected percentile value and then base the grid off the resulting table (either FILTER or CALCULATETABLE results in the same thing).  Problem is that the table doesn't change dynamically.  Meaning that if I decide to look at the 75th percentile (instead of the 85th percentile as shown in the pic), the table is intended to recalculate and present a new set of data based on the new filter criteria.

DAX code...

FilteredParetoData = 
    FILTER(
        ParetoData,
        ParetoData[TotalRevenuePercentile] >= Percentile[Percentile Value]
    )


Whenever the percentile value changes, the table does not dynamically recreate the table...it uses to the default value of the Percentile parameter (85).  Could anyone provide any suggestions on how to get the table to dynamically repopulate itself and by extension the grid?

Thanks in advance!  :-)

  • littlemojopuppy's avatar
    littlemojopuppy
    7 years ago

    Who wants to hear the most overthought question ever?

    I didn't need to dynamically filter to populate anything.  I needed a slicer to filter in/out what wasn't necessary.  I'm an idiot and I'm sorry to waste your time...

3 Replies