Forum Discussion
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.
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
- v-jiascu-msft8 years ago
Microsoft Employee
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