Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi All
I have a COMPETITOR field name , Which display 5 competitors name :-
I like to break the competitor into 2 group , one group is very profitable and another group is not very profitable.
Below table shown there are 5 competitor , i like to create a expression filed name = show_Omron_Wago So that i can put at filter panel. ( See the red color box i have high lighted ).
My pbi file :-
Paul Yeo
Solved! Go to Solution.
@Paulyeo11 Has this been solved now? Please let us know if you have any other questions, otherwise please mark all helpful solutions and kudos any helpful posts. 🙂
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
@Paulyeo11 Has this been solved now? Please let us know if you have any other questions, otherwise please mark all helpful solutions and kudos any helpful posts. 🙂
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
@Paulyeo11 , Not very clear. You can create a measure like
new measure = calculate([measure], filter(Table, Table[COMPETITOR] in {"Omron","Wago"}))
Hi Amit
Thank you for your sharing. i get error msg when using your expression.
I have send you a PM. pls check.
@Paulyeo11 You can add a visual or page level filter to select only Omron and Wago.
OR, if you right click on the Competitor column and select "New Group" you can create a group for low profit and high profit groups. Then you can use that in your visuals and filters.
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
Hi Allison
Thank you very much for sharing. The reasons i need to hard code the competitor is because in my actual PBI doc i have more then 30 competitors. So i need to plot those competitor net profit is increase and those are decrease.
Paul
Hi Paul,
I join @AllisonKennedy and suggest that you create groups from your competitors. Go to Competitor field, right click and Add groups. Then use those groups as filters or in any of your visuals.
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
Hi AJ
Thank you very much , i just try in fact allison is right . this approach is much better.
I want to create one group only omron and wago with out Other it is possible ?
Above my PBI file
Paul
You just need to ungroup the Others from the group
Then use the filter Pane to get what want to see
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
Hi AJ
For those filter panel , when we tick , it will stick with the chart right ? i mean it will not change , unless some one go and change it right ?
Correct, but you can hide the whole filter pane and it won't show up in the Power bi service if you don't want your users to act upon it.
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
Hi AJ
I though the user can just click on the red box i high lighted to view the filter panel ?
Yes you can hide that pane in the service.
In your desktop
Then Publish
Also you can hide the tabs as well.
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
100 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
111 | |
92 | |
84 | |
66 |