Importing Data models from power BI service into excel and using pivot tables
I have created a report in Power Bi Desktop using direct query.In this report I have created few measures , columns and hierarchy.After publishing it online in Power BI service I connect to the data using Power Bi publisher for Excel .
In excel I get the dataset to be used in pivot table. But I notice that in the pivot table fields--
1)The hierarcy disappears.
2)I can only put measures in the Values section
3)"Add to Values" option is grayed out if I right click on a calculated column.
I would like to use these option in Excel when I import report from Power BI service online into Excel.
I have created a report in Power BI Desktop using direct query.It contains few measures, calculated columns and hierarchies in addition to thoses columns coming from SQL database. After publishing it online on Power BI Service I connect to the data in Excel using the Power BI publisher for Excel.
In excel I see all the fields in the pivottable field list. But I am unable to do the following:
1) I cannot put calculated columns in the values section. The option "Move to Values" is grayed out when I right click.
3)Can only add measure to the values section.
I would like to use all these in excel when I import a report from Power BI service.
@sadhnabatra That could be limitation of using DirectQuery as when used with Import I can see hierarchies and calculated columns. Only measures can be added to Values section that is standard pivottable feature and so regardless of Import or DirectQuery. So change your method of connecting to data source from DirectQuery to Import. Also you can use Analyze in Excel option that you get once your dataset is published to power bi service.
In excel, I am not able to put calculated columns in the values section, however, I am able to put numeric columns that come from SQL Server in the values section. Could you please post sample data of your numeric columns?
in addition, according to my knowledge, calculated column are always used in the ROWS, COLUMNS, or FILTERS area of PivotTable but not in the values section.
Thanks, Lydia Zhang
Community Support Team _ Lydia Zhang If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.