Forum Discussion
Clustering-automatically find clusters option is missing
- 7 years ago
hi, Anonymous
We can't open your pbix file.
But from this error, we could know that this report is based on Live connection to power bi dateset.
And when you use Clustering-automatically find clusters option, it will create a group (a new calculate column).
So it couldn't use automatically find clusters in live connection.
Live connections
When connecting to SQL Server Analysis Services (SSAS), there is an option to either import data from, or connect live to, the selected data model. If you select import, then you define a query against that external SSAS source, and the data is imported as normal. If you select to connect live, then there is no query defined, and the entire external model is shown in the field list. If you select DirectQuery, as visuals are built, queries are sent to the external SSAS source. However, unlike DirectQuery, there is no sense in which a new model is being created; in other words, it's not possible to define new calculated columns, hierarchies, relationships, and so on. Instead you are simply connecting directly to the external SSAS model.
The situation described in the previous paragraph applies to connecting to the following sources as well, except that there is no option to import the data:
- Power BI datasets (for example, when connecting to a Power BI dataset that has previously been created and published to the service, to author a new report over it)
- Common Data Services
https://docs.microsoft.com/en-us/power-bi/desktop-directquery-about
Best Regards,
Lin
Hi v-lili6-msft
The Demo file you provided to test the cluster feature works without any problems. I wonder what's happening in my file which prevents the clustering option. I am attaching my sample file with this reply, please take a look.
https://www.dropbox.com/s/46sqpfk53ojyb51/Sample%20file-Clustering.pbix?dl=0
hi, Anonymous
We can't open your pbix file.
But from this error, we could know that this report is based on Live connection to power bi dateset.
And when you use Clustering-automatically find clusters option, it will create a group (a new calculate column).
So it couldn't use automatically find clusters in live connection.
Live connections
When connecting to SQL Server Analysis Services (SSAS), there is an option to either import data from, or connect live to, the selected data model. If you select import, then you define a query against that external SSAS source, and the data is imported as normal. If you select to connect live, then there is no query defined, and the entire external model is shown in the field list. If you select DirectQuery, as visuals are built, queries are sent to the external SSAS source. However, unlike DirectQuery, there is no sense in which a new model is being created; in other words, it's not possible to define new calculated columns, hierarchies, relationships, and so on. Instead you are simply connecting directly to the external SSAS model.
The situation described in the previous paragraph applies to connecting to the following sources as well, except that there is no option to import the data:
- Power BI datasets (for example, when connecting to a Power BI dataset that has previously been created and published to the service, to author a new report over it)
- Common Data Services
https://docs.microsoft.com/en-us/power-bi/desktop-directquery-about
Best Regards,
Lin
- Anonymous7 years agoNot applicable
Thank you very much for your explanation. I understand why automatically find cluster would not work in the Live Connection case.
I was connected to the Power dataset as you mentioned in the sample file i intended to send you.
But my actual project involves DirectQuery storage mode, so as per the following explanation with DirectQuery it is not possible to apply clustering, right?
Thank you,
- Hanselpw1 year agoNew Member
no dont accept this, it's blabbering about SQL Server Analysis Services (SSAS),
I was importing excel data, completely offline powerBI desktop connection.
the answer from the other guy below (having ur legends blank) is the real solution!!! vote that instead, thans