Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Paulyeo11
Impactful Individual
Impactful Individual

How to make my table only display Omron and Wago ?

Hi All

 

I have a COMPETITOR field name , Which display 5 competitors name :-

Paulyeo11_1-1608812924836.png

 

 

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 ).

 

Paulyeo11_0-1608812631754.png

My pbi file :-

https://www.dropbox.com/s/weg835g1dgkdaod/COMPETITOR_V010%20how%20show%20only%20wago%20and%20omron.p...

 

Paul Yeo

1 ACCEPTED SOLUTION
AllisonKennedy
Super User
Super User

@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. 🙂 


Please @mention me in your reply if you want a response.

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

View solution in original post

12 REPLIES 12
AllisonKennedy
Super User
Super User

@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. 🙂 


Please @mention me in your reply if you want a response.

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

amitchandak
Super User
Super User

@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.

Paulyeo11_0-1608813628195.png

 

I have send you a PM. pls check.

AllisonKennedy
Super User
Super User

@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. 


Please @mention me in your reply if you want a response.

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

aj1973
Community Champion
Community Champion

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

Paulyeo11
Impactful Individual
Impactful Individual

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 ?

Paulyeo11_0-1608817382180.png

https://www.dropbox.com/s/weg835g1dgkdaod/COMPETITOR_V010%20how%20show%20only%20wago%20and%20omron.p...

Above my PBI file

 

Paul

 

aj1973
Community Champion
Community Champion

You just need to ungroup the Others from the group

aj1973_0-1608817671485.png

 

Then use the filter Pane to get what want to see

aj1973_1-1608817762760.png

 

 

 

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

Paulyeo11
Impactful Individual
Impactful Individual

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 ?

Paulyeo11_0-1608818243285.png

 

aj1973
Community Champion
Community Champion

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

Paulyeo11
Impactful Individual
Impactful Individual

Hi AJ

I though the user can just click on the red box i high lighted to view the filter panel ?

Paulyeo11_0-1608818855267.png

 

aj1973
Community Champion
Community Champion

Yes you can hide that pane in the service. 

In your desktop

aj1973_0-1608824475938.png

 

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.