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
MADI_IDRIS
Frequent Visitor

Create New Table and Column from existing Table with filters

Hi Community,

 

I am very new to Power Bi. I am trying to create a new table from existing table and add additional column from the new table?

I have tried summarizecolumn with filter but the results is not really what I expected as it only give one answer.  Apprecite your help on this.

 

Below is my sample data set.

Append_Sales_Table.jpg

What I want to do is to create a new table by selecting

 1) "Voice" on SERVICETYPE column and

 2) "New" fon SEGMENT column

I also want my  Network Type i.e Local, Onnet and IDD become header for volume. The result should be something like below.

 

STAT CYCLEDIVISIONREGIONSERVICE TYPESEGMENTIDDLocalOnnet
31/5/2018MarketingCentralVoiceNew2783659812052
31/5/2018MarketingNorthernVoiceNew1566912233
31/5/2018MarketingSouthernVoiceNew763117374786
31/5/2018SalesCentralVoiceNew13153253912200
31/5/2018SalesNorthernVoiceNew148136004110
31/5/2018SalesSouthernVoiceNew623159246703
30/6/2018MarketingCentralVoiceNew3083545711374
30/6/2018MarketingNorthernVoiceNew3580802046
30/6/2018MarketingSouthernVoiceNew271116104428
30/6/2018SalesCentralVoiceNew16103070111716
30/6/2018SalesNorthernVoiceNew 120022863

30/6/2018

SalesSouthernVoiceNew41814787

5632

 

 

Could anyone help?

Thanks.

Madi

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Hi @MADI_IDRIS,

 

This can be achinved by going to Power Query Editor.

 

For Creating new table with the same datasource:

1. Right Click on the Query Souce and duplicate it, then in the another duplicated table you can apply your filter and then click on close and apply. This way you can create new table from the same source with filter that you like.

1.png

 

2. For Making you Network Type column as header you need to use do Pivot in the Power Query Editor.
refer to this : https://community.powerbi.com/t5/Community-Blog/Pivot-your-Data-using-Power-Query/ba-p/224019

View solution in original post

Thanks


@Anonymous wrote:

Hi @MADI_IDRIS,

 

This can be achinved by going to Power Query Editor.

 

For Creating new table with the same datasource:

1. Right Click on the Query Souce and duplicate it, then in the another duplicated table you can apply your filter and then click on close and apply. This way you can create new table from the same source with filter that you like.

1.png

 

2. For Making you Network Type column as header you need to use do Pivot in the Power Query Editor.
refer to this : https://community.powerbi.com/t5/Community-Blog/Pivot-your-Data-using-Power-Query/ba-p/224019


 

Thanks jayant.. Really Appreciate your fast and exact solution.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @MADI_IDRIS,

 

This can be achinved by going to Power Query Editor.

 

For Creating new table with the same datasource:

1. Right Click on the Query Souce and duplicate it, then in the another duplicated table you can apply your filter and then click on close and apply. This way you can create new table from the same source with filter that you like.

1.png

 

2. For Making you Network Type column as header you need to use do Pivot in the Power Query Editor.
refer to this : https://community.powerbi.com/t5/Community-Blog/Pivot-your-Data-using-Power-Query/ba-p/224019

Thanks


@Anonymous wrote:

Hi @MADI_IDRIS,

 

This can be achinved by going to Power Query Editor.

 

For Creating new table with the same datasource:

1. Right Click on the Query Souce and duplicate it, then in the another duplicated table you can apply your filter and then click on close and apply. This way you can create new table from the same source with filter that you like.

1.png

 

2. For Making you Network Type column as header you need to use do Pivot in the Power Query Editor.
refer to this : https://community.powerbi.com/t5/Community-Blog/Pivot-your-Data-using-Power-Query/ba-p/224019


 

Thanks jayant.. Really Appreciate your fast and exact solution.

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.