Forum Discussion

shaunwilks's avatar
shaunwilks
Icon for Helper V rankHelper V
8 years ago
Solved

Matrix Visual - Prevent Drill Down from one item

Prevent drill down from one item within the matrix   I have seen this done so I know its possible. There is an example on the web but are worried about publicising that link without the developers ...
  • Seward12533's avatar
    8 years ago

    You need to modify your meaures so you drill down under the categories you don't want to display details under nothing is displayed. Some sample data and a picture of what your trying to do would help but here is a sample of what I'm talking about - See first sheet "Block Drill Down"

     

    Using a combinatin of ISFILTERED and HASONE VALUE you block the calcalcution in certain situations when you return a NULL the row will not be displayed

     

    Avg Block Berries = IF(NOT(ISFILTERED(BerryBuyers[Buyer])),[Average Revenue per Buyer],IF(FIRSTNONBLANK(Types[ProductType],1)<>"Berries",[Average Revenue per Buyer]))

    The table on the left uses the RAW measure and you see average sales for individual Berry Buyers. The one on the right uses the blocking meausure and no buyer details under Berries are displayed.