Forum Discussion
Grouping or distinct values
- Anonymous1 year ago
Hi Billy_1979,
I think you should modify your M query as below:
if List.Contains([All Data][Sticker ID], "Top 30") then "Top30" else "Other"I have made a simple test for your reference:
Please check the attached .pbix file for details.
Best Regards,
Qi
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
Hi Billy_1979,
I think you should modify your M query as below:
if List.Contains([All Data][Sticker ID], "Top 30") then "Top30" else "Other"
I have made a simple test for your reference:
Please check the attached .pbix file for details.
Best Regards,
Qi
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
This Solution worked perfectly thanks for your help. Anonymous