Forum Discussion

atat0105's avatar
atat0105
New Member
9 years ago
Solved

Slicer Set Value

Hello everyone, I have a column which defines each row like below.   Column =IF(V_OKM_0[Periyod]<601;""Active"";""Passive"")   then, I show percentage of ""Passive"" on a card.   Measure = CAL...
  • cosborn1231's avatar
    9 years ago

    Hi Atat0105,

     

    You will need to use a disconnected table here.

    Instead of "hardcoding" the IF in your column to <601 you can pass a slicer value through.

     

    Click "Enter data" and build a table like below/ the measure shown in the formula bar.

     

     

    Once you do this pass that measure into the calculated column like so:

     

    When you are using disconnected tables you allow yourself to pick what you want to slice on. Connect the tables within Power BI to filter correctly. Once you select a value from that disconnect table it will pass that value into the rest of your functions.

     

    Hope this helps,

    Christian