cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
marimar
Frequent Visitor

Column added in data tab not shown in query editor

Hello to all,

 

I am a beginner user of Power BI and I added a calculated column on the tab data (and not in the source data) to produce some pivot tables.

 

However the added column is not shown in the query editor.

Should I just make the calculations during producing the pivot tables? I would like to find the percentage of 2 sums of grouped features.

 

Many thanx for any insights!

3 REPLIES 3
Anonymous
Not applicable

Re: Column added in data tab not shown in query editor

If you add a column using 'Modeling->New Column' it wont show up in query editor, its scope is limited to report only i.e. after the data is populated and query editor steps are completed.

If you want to add column at query editor level, got to query editor ->Add Column -> Conditional Column.

This one would be added as a step in data tranformation.

marimar
Frequent Visitor

Re: Column added in data tab not shown in query editor

Do you know how I can calculate fields in Power BI as in excel pivot tables? I want to have a pivot table in power BI. The values must be the ratio of 2 column

Microsoft
Microsoft

Re: Column added in data tab not shown in query editor

Hi @marimar,

 

It's different in Power BI. No columns are needed. Maybe a measure is enough. The result could be as follows.

Column1    Column2      Measure (the formula is = sum('table'[Column1]) / sum('table'[Column2]))

 

If you would like the details, please provide a sample data.

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Announcing the New Spanish Forum

Announcing the New Spanish Forum

Do you need help in Spanish? Check out our new Spanish community section.

April 2020 Community Highlights

April 2020 Community Highlights

Info on our Super Users, MBAS content and badges, and updates to our support articles. - Read the full Community Highlights.

MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

Top Solution Authors
Top Kudoed Authors