Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Filter using a slicer list

Hi all,

 

I'm very new to Power BI and I'm having some trouble doing something which I think should be fairly basic.

 

I have a big table like the below:

DateEURJPYGBP
1-Jul-191.1372107.89000.7877
2-Jul-191.1286108.44000.7913
3-Jul-191.1288107.89000.7940
4-Jul-191.1279107.82000.7955
5-Jul-191.1284107.82000.7949
8-Jul-191.1226108.47000.7984
9-Jul-191.1215108.72000.7988
10-Jul-191.1209108.85000.8024
11-Jul-191.1251108.4600

0.7999

 

Each row corresponds to 1 day and I have over 30 columns for different currencies.

 

What I would like to achieve is a slicer list so I can select a particular currency and see a chart over the given time period, but I can't seem to figure out how to do this.

 

Can someone help me with this? Hopefully I've explained it clearly.

 

Thanks.

  • Hi Anonymous ,

    What you will need to do is to go to Power Query, select the date column, then go the Transform tab, and select Unpivot other columns.  When you go back to Power BI, you will be able to use the currencies and date as slicers.


    Let me know if you have any questions.

    If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
    Nathaniel

    Here is my pbix PBIX FILE 






     

3 Replies

  • Nathaniel_C's avatar
    Nathaniel_C
    Community Champion

    Hi Anonymous ,

    What you will need to do is to go to Power Query, select the date column, then go the Transform tab, and select Unpivot other columns.  When you go back to Power BI, you will be able to use the currencies and date as slicers.


    Let me know if you have any questions.

    If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
    Nathaniel

    Here is my pbix PBIX FILE 






     

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi Nathaniel_C

       

      Thanks for your response. Your steps worked perfectly! I did have to adjust some of my column formats but got it working in the end.

       

      Thanks for the help!