Forum Discussion

JGARROD's avatar
JGARROD
Icon for Helper I rankHelper I
4 years ago
Solved

Restrict filter values based on a measure

Hi,    I have a measure which calcuates Percentage complete of a data set.    I have a table which stores the values 0%-100% at 1% incriments.   I want to put the table (0-100%) into a filter b...
  • amitchandak's avatar
    4 years ago

    JGARROD , Based on what I got you can get an independent what if table, then you can create filter

     

    row level

    sumx(filter(Table, [Measure] > [whatifmeasure] ) , [Measure])

     

    or on category/item/group level

     

    sumx(filter(values(Table[Category]) , [Measure] > [whatifmeasure] ) , [Measure])

     

    https://docs.microsoft.com/en-us/power-bi/desktop-what-if