Forum Discussion

Happy2023_05's avatar
Happy2023_05
Helper I
3 years ago
Solved

DAX Help- To hard code values in measure

Hi All,   I want to filter set of order# in slicer and table. Suppose order(order# ) = 2341 & 3267, I want to show only these 2 order number details in visual and slicer(should show these 2 order n...
  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi Happy2023_05 ,

    I have created a simple sample, please refer to my pbix file to see if it helps you.

    Create a measure.

    Measure = IF(MAX('Table'[order]) in {2341,3267},1,BLANK())

    Then filter the measure.

     

    How to Get Your Question Answered Quickly 

     

    If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

     

    Best Regards
    Community Support Team _ Polly

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.