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.
Hi,
Please can you tell me how to create a pivot table (or power pivot table?) based on a Power BI dataset?
Or is there a way to export the mapped dataset as a flat file?
Thanks,
CM
Solved! Go to Solution.
Did you use "Analyse in Excel" option as I've proposed?
If so - then Pivot should work.
You can only drag a Measure to the Values section - so create a measure, for instance:
In your FactTable there's a "Sales" column that contains the sales amount.
First make sure it is Decimal, then add a new Measure:
TotSales = SUM(FactTable[Sales])
That's it.
Now you can drag "TotSales" into the Values section.
It should work
Michael
You can accomplish this only if you publish your dataset to the PowerBI.com service.
There, click on the options for dataset (...) and choose "Analyse in Excel"
You will probably need to install some driver (it'll guide you through - it is simple) and then it'll download a .odc connection file which you can open in excel and see Pivot connected to the service.
Good luck!
Michael
You can accomplish this only if you publish your dataset to the PowerBI.com service. There, click on the options for dataset (...) and choose "Analyse in Excel" You will probably need to install some driver (it'll guide you through - it is simple) and then it'll download a .odc connection file which you can open in excel and see Pivot connected to the service. Good luck! Michael
I've just tried this and I'm unable to drag a field into the values section of the pivot table. The numbers in this field are stored as integers (I see the numbers symbol in the column heading) in the Power BI database, but if I drag the field into the rows section of the pivot table and test the values with the "ISTEXT" formula the result is "TRUE". Therefore I suspect the pivot table isn't allowing the field into the values section of the pivot table because the pivot table thinks the field is a text field? Any idea how to fix?
Thanks,
CM
Did you use "Analyse in Excel" option as I've proposed?
If so - then Pivot should work.
You can only drag a Measure to the Values section - so create a measure, for instance:
In your FactTable there's a "Sales" column that contains the sales amount.
First make sure it is Decimal, then add a new Measure:
TotSales = SUM(FactTable[Sales])
That's it.
Now you can drag "TotSales" into the Values section.
It should work
Michael
Hi @CloudMonkey,
As you mentioned, all the fields stored in Power BI dataset will be recognized as Text type after being exported to pivot table.
Based on my test, we are not able to drag original fields into values section, but we can drag measures into values section. So, the workaround can be creating measures to get your desired values in advance.
Besides, you can submit your feedback to Microsoft at this page: https://ideas.powerbi.com/forums/265200-power-bi-ideas. And you can post the link back so that I can vote it for you.
Regards,
Yuliana Gu
There's an unsupported way to connect Excel to a local pbix file, you'll have to keep PBI desktop open alongside Excel:
http://exceleratorbi.com.au/excel-workbook-connection-local-power-bi-desktop/
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
94 | |
81 | |
66 | |
58 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |