how to create calculated column which contains grouped data?

shiningstar

New Member
Joined
Sep 26, 2014
Messages
7
I have a SQL table like A( Customer, revenue,Industry )
Customer Industry Revenue
Microsoft Tech 100M
Adobe Tech 200M
VW Automotive 100M
HP Gas Oil and Gas 50M

I am using "Industry" as a slicer here. But I want one more field "cluser_Industry" as a slicer.
where Cluser Industry shows if Tech & Automative then " General"
if Oil&gas then "Energy&resources".


How can I create this calculated column and use it as a slicer?
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Not really sure, but thinking that you will obtain your desired result in a different way:

Create the following table “Group”:

Industry-CluserIndustry
Tech- General
Industry-General
Oil&Gas-Energy&resources

Connect to TableA on Industry and use "CluserIndustry" as a slicer
 
Upvote 0
That answered my question :) asssuming I need to build a data model between tableA and Group with matching key as " Industry" .Am I right?
 
Upvote 0

Forum statistics

Threads
1,216,028
Messages
6,128,387
Members
449,445
Latest member
JJFabEngineering

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top