Forum Discussion

Syndicate_Admin's avatar
Syndicate_Admin
Administrator
4 years ago
Solved

Multi-catalog slicer

Hello Community! I hope everything goes well, in my path of learning Power Bi, I have encountered a new challenge, I have 3 catalogs: one where my suppliers are, another where my service category...
  • v-zhangti's avatar
    v-zhangti
    4 years ago

    Hi, Syndicate_Admin 

     

    You can try the following methods.

    Measure1 = 
    Var N1=SELECTEDVALUE(Suppliers[Suppliers])
    Return 
    IF(SELECTEDVALUE(Combinations[Suppliers])=N1,1,0)

    Place Measure1 in the Catalogue view and set it equal to 1.

    Measure2 = 
    Var N1=SELECTEDVALUE(Suppliers[Suppliers])
    Var N2=SELECTEDVALUE(Catalogue[Catalogue])
    Return 
    IF(SELECTEDVALUE(Combinations[Suppliers])=N1&&SELECTEDVALUE(Combinations[Catalogue])=N2,1,0)

    Place Measure2 in the Details view and set it to equal 1.

    At this point, after one slicer option is completed, the second slicer option is changed accordingly. The options for the third slicer depend on the selection of the first two slicers.

    Is this the result you expect?

     

    Best Regards,

    Community Support Team _Charlotte

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.