Forum Discussion

TheCAKurtle's avatar
TheCAKurtle
Helper I
6 years ago
Solved

Dynamic Budgeting Tool

I am currently trying to build a dynamic budgeting tool for an energy company. With oil prices being so low currently this company would like to have the ability to "turn off" a well to help determine what is economic and what is not. So if a well is selected in a slicer I would like to set its value to zero while keeping the others the same. Is it possible to do that through a measure? 

 

Thank you in advanvce! 

  • Hi TheCAKurtle

     

    1. Create a slicer table,put the categories in the column:

     

    2.Delete the relationship between table and the slicer table:

     

    3.Create a measure as below:

     

    Measure = IF(SELECTEDVALUE('slicer table'[category])=SELECTEDVALUE('Table'[Category]),0,'Table'[Ratio])

     

    Finally you will see:

     

    Is the above what you need?

     

    Here is my sample .pbix file you can refer to.

     

    Best Regards,
    Kelly
    Did I answer your question? Mark my post as a solution!

6 Replies