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,
Previously I would be able to put a text field in a table visual and ask for a distinct count or a simple count of values.
It seeems for some reason the developpers decided that we do not need this?
Because now the only way I can get this is by creating a measure, which is not necessarily efficient when you are exploring the data.
Here's what I get in Power BI Desktop:
There is no longer any options to add a calculation to this column.
In fact, I can't even put this text column into a values box of a clustered chart anymore.
But it seems to be still available in Power BI Service:
Solved! Go to Solution.
By any chance does the Power BI dataset where you are seeing this behaviour contain at least one calculation group, or did it ever contain one?
Once at least one calculation group has ben added to a Power BI dataset, the Discourage Implict Measures setting is forced to true. This prevents creating implicit measures by choosing an aggregation type within the Values field well, so all measures must be written explicitly with DAX.
There is a good explanation of this feature in another post here. You can use Tabular Editor to see if Discourage Implicit Measures is set to true. If all calculation groups are removed, you can set it back to false.
As far as I can tell, this behaviour is consistent between Power BI Desktop and the Power BI Service, as long as the dataset in question has that setting enabled.
If that's not the issue, please post back, and would you be able to share a link to a santised PBIX?
Regards,
Owen
**UPDATE**
It seems that by design, changing this property to 'ture' will display the aggregation options, but they would not be applied.
Well in my case, I don't have a calculation group but rather a calculation table. And it seems that changing this setting to true not only displays the aggregation options but also applies it when selected.
Owen, you nailed it!
I checked two files in which one had a Measures table.
The one with 'Measures' table had this setting to 'True'.
I changed it back to 'False' and I could do calculation again on text fields.
I understand this may not be a good idea to keep it to 'False' so I will revert it back to 'True' after my exploration is done.
Thanks a lot good sir!
By any chance does the Power BI dataset where you are seeing this behaviour contain at least one calculation group, or did it ever contain one?
Once at least one calculation group has ben added to a Power BI dataset, the Discourage Implict Measures setting is forced to true. This prevents creating implicit measures by choosing an aggregation type within the Values field well, so all measures must be written explicitly with DAX.
There is a good explanation of this feature in another post here. You can use Tabular Editor to see if Discourage Implicit Measures is set to true. If all calculation groups are removed, you can set it back to false.
As far as I can tell, this behaviour is consistent between Power BI Desktop and the Power BI Service, as long as the dataset in question has that setting enabled.
If that's not the issue, please post back, and would you be able to share a link to a santised PBIX?
Regards,
Owen
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 |
---|---|
107 | |
97 | |
75 | |
63 | |
53 |
User | Count |
---|---|
139 | |
100 | |
95 | |
85 | |
63 |