Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Create a subset of a table

Hi,

I have the following tabular information:

 

account_codenameeffective_frommonth_effective_fromYear_effective_fromMonth-Year-effective_fromeffective_tomonth_effective_toYear_effective_toaccount_type_code
OG001Oil & Gas2017-07-14 07:41:06.7247227 +00:00717Jul-172018-10-26 10:43:16.6078098 +10:30October2018mining
BNK001Banking2017-07-14 07:41:06.7247227 +00:00717Jul-172018-10-26 10:43:16.6078098 +10:30October2018Finance
EDU001University2017-07-14 07:41:06.7247227 +00:00717Jul-172018-10-26 10:43:16.6078098 +10:30October2018Education
TEC001Technoogy2017-07-14 07:41:06.7247227 +00:00717Jul-172018-10-26 10:43:16.6078098 +10:30October2018IT
OG001Oil & Gas (Asia)2018-10-26 10:43:16.6546562 +10:301018Oct-182019-06-06 15:53:16.1318654 +09:30June2019mining
BNK001Banking (Asia Pacific)2018-10-26 10:43:16.6546562 +10:301018Oct-182019-05-19 16:33:17.1352558 +09:30May2019Finance
EDU001University (Oceania)2018-10-26 10:43:16.6546562 +10:301018Oct-182019-05-19 16:33:17.1352558 +09:30May2019Education
TEC001Technoogy (Worldwide)2018-10-26 10:43:16.6546562 +10:301018Oct-182019-05-19 16:33:17.1352558 +09:30May2019IT
OG001Oil & Gas (Asia)2019-06-06 15:53:16.1318654 +09:30619Jun-19   mining
BNK001Banking (Asia Pacific)2019-05-19 16:33:17.1352558 +09:30519Jun-19   Finance
EDU001University (Oceania)2019-05-19 16:33:17.1352558 +09:30519Jun-192019-07-20 02:35:21.7312951 +09:30July2019Education
TEC001Technoogy (Worldwide)2019-05-19 16:33:17.1352558 +09:30519Jun-19   IT

MED001

Hospital2020-07-20 02:35:21.7312951 +09:30720

Jul-20

 

   

 

 

 

 In PBI, I have a drop down filter for Month-Year-effective from. Based on what user chooses using the drop down, I need to create a subset table with all effective_from and effective_to.

 

I tried useing the FILTER function, but selectedVALUE(Mnonth-Year-effective_from) doesnt give me the selected value, instead it displays blank. Is this the correct way of doing?

  • Hi Anonymous 

     

    Are you trying to create a new "table" or are you trying to filter the existing table?

     

    If it is just to filter the table based on a Slicer visual, you can drag the "Month-Year-effective_from" field into the Slicer visual and the user can simply select the Month Year such as that below. If it is not what you were after, it would be good to get some further clarification on your need if that's okay?

     

    Thanks,
    Theo 🙂

1 Reply

  • TheoC's avatar
    TheoC
    Icon for Community Champion rankCommunity Champion

    Hi Anonymous 

     

    Are you trying to create a new "table" or are you trying to filter the existing table?

     

    If it is just to filter the table based on a Slicer visual, you can drag the "Month-Year-effective_from" field into the Slicer visual and the user can simply select the Month Year such as that below. If it is not what you were after, it would be good to get some further clarification on your need if that's okay?

     

    Thanks,
    Theo 🙂