Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
1 year ago
Solved

Filter just values in the column and not the row context

I'm trying to filter a table based on a designation of if the sales were core sales or not by item. The item designation changes based on the date it was ordered so Item2 could be a Core item or Closeout based on when it was ordered. As a result I have two different sales measures, Sales1 and Sales2 for different date tables, and then two different designation measures, Designation1 and Designation2 based on the the different date tables as well. 

 

I'm trying to create the table at the bottom of the example here where filtering on Designation2 doesn't filter the entire row for that item. Thanks!

 

 

  • Best option would be to unpivot your data to bring it into a usable format.

     

    Second best option is to add a column  that checks if Designation1 or Designation2 is "Core". Then filter by that column.

8 Replies

  • Best option would be to unpivot your data to bring it into a usable format.

     

    Second best option is to add a column  that checks if Designation1 or Designation2 is "Core". Then filter by that column.

    • Anonymous's avatar
      Anonymous
      Not applicable

      Unfortunately I'm Direct-Querying into this data so custom columns and unpivoting the data is not in the cards. 

      • lbendlin's avatar
        lbendlin
        Icon for Super User rankSuper User

        Custom columns are supported in Direct Query mode.  They are expensive, but they are supported.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous,

    Thanks for reaching out to the Microsoft fabric community forum.

     

    It looks like you want to filter data and only want data related to filtered data to show. As lbendlin already responded to your query, please go through his response and mark it as solution if you are able to solve your issue.

     

    I would also take a moment to thank lbendlin, for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.

     

    If I misunderstand your needs or you still have problems on it, please feel free to let us know.  

    Best Regards,
    Hammad.
    Community Support Team

     

    If this post helps then please mark it as a solution, so that other members find it more quickly.

    Thank you.

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi Anonymous,

      As we haven’t heard back from you, so just following up to our previous message. I'd like to confirm if you've successfully resolved this issue or if you need further help.

      If yes, you are welcome to share your workaround and mark it as a solution so that other users can benefit as well. If you find a reply particularly helpful to you, you can also mark it as a solution.


      If you still have any questions or need more support, please feel free to let us know. We are more than happy to continue to help you.
      Thank you for your patience and look forward to hearing from you.

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi Anonymous,

        I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution so that other community members can find it easily.


        Thank you.