06-15-2018 06:13 AM
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!
06-15-2018 06:21 AM
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.
06-15-2018 07:45 AM
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
06-18-2018 07:30 PM
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.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.