Forum Discussion

blackbool44's avatar
blackbool44
Icon for Helper I rankHelper I
6 years ago
Solved

2 levels Selector : TONS/Turnover - Current/YTD

Hello Dear Power BI Community,   I have a request concerning SWITCH selectors,   I have my data following this pattern,   Sales Date Tonnage Turnover 01/01/2019 12 44 03/05/2019 ...
  • parry2k's avatar
    parry2k
    6 years ago

    blackbool44 unpivot your table

     

    - transform data
    - select date column 
    - right-click, unpivot other columns it will add two columns, attribute, and value, rename these as per your requirement
    - close and apply

    you can use Attribute column for slicer and rest everything will work

     

    I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!