Forum Discussion

chrisdiekvoss's avatar
chrisdiekvoss
Frequent Visitor
2 years ago

Using a Parameter to switch multiple attributes across multiple visuals

I am a attempting to create a user experience on the same report page for two different audiences (an owning group and a recycle group) on this page there viz for the # Applications and another for Recycle Minutes on both viz I would like to switch between the Team and Area for the seelected group. 

 

Field parametes can't handle the compexity and a calculated measure doesn't validate for dimensional attributtes so I am trying with a calculated column (I know these are frowned apon), the Dax validates but the selected value does not populate, it has 1 blank row with the metric. 

 

See attached workbook, I feel like I am either overlooking something simple or just taking the wrong approach, any guidence would be greatly apprciated.   

Show View By Team = switch (True(),'View By'[Selected View By] = "Recycling",'Data' [Recycle Team], 'View By'[Selected View By] = "Owning", 'Data' [Owning Team])

 

Show View By Area = switch (True(),'View By'[Selected View By] = "Recycling",'Data' [Recycle Area], 'View By'[Selected View By] = "Owning", 'Data' [Owning Area])

2 Replies

  • Hi chrisdiekvoss 

     

    See attached workbook?
    You might have forgotten to post a sample data. You can post a link to an Excel file in the cloud.

    • chrisdiekvoss's avatar
      chrisdiekvoss
      Frequent Visitor

      Sorry, i thought i could attached a workbook, here is the sample data.

      ApplicationOwning AreaOwning TeamRecycle AreaRecycle TeamRecycle Time
      A

      OA1

      OT20RA1RT1010
      BOA1OT20RA1RT1020
      COA1OT25RA1RT1030
      DOA2OT30RA1RT1040
      EOA3OT30RA1RT1550
      FOA3OT30RA1RT1560
      GOA3OT30RA2RT2070
      HOA4OT40RA2RT2080
      IOA4OT50RA2RT2090
      JOA4OT50RA2RT2095