Forum Discussion
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 no) .can we achive this in measure. pls help in getting DAX for this?
- Anonymous3 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 _ PollyIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
1 Reply
- AnonymousNot applicable
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 _ PollyIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.