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.
I've created the following custom visual using a table Data View Mapping. If I added a column to my GroupingOrMeasure Data Role the table.columns.queryName property of this column takes the value of the first summarization option (which is sum): "Sum( Table.Column1 )".
But if I change the aggregate function of this column to "Don't Summarize" (or any other), the queryName property doesn't update at all, is still "Sum( Table.Column1 )":
Steps to reproduce this issue
1. Create the following table:
2. Create a custom visual with the following capability:
"dataRoles": [
{
"name": "columns",
"kind": "GroupingOrMeasure",
"displayName": "Columns"
}
]
"dataViewMappings": [
{
"table": {
"rows": {
"select": [
{
"for": {
"in": "columns"
}
}
]
}
}
}
]
3. Explore table.columns.queryName value with Show DataView button and see how this property is not updated after changing the aggregate function of Column1.
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.