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, Anonymous
you have to left Legen field balnk and no drill down in the Detail field (I mean left the Detail field only one item after u auto clustering u can add more item in this field).
Best Regards,
Lin
Hi v-lili6-msft
The legend field is empty in my case and also i am using only one fields under Details. It doesn't work even then.
The same chart shows the clusters when i use the custom visual for clustering. But I do want the automatic clustering functionality so that i can use the new cluster column generated from here for next visuals.
Thank you,
- v-lili6-msft7 years agoCommunity Support
hi, Anonymous
Please try to see if this simple sample pbix file works properly.
If you still have the problem, please share your sample pbix file for us have a test, there should be something wrong in other.
Best Regards,
Lin
- Anonymous7 years agoNot applicable
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
- v-lili6-msft7 years agoCommunity Support
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