Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
victoriaacqua
Regular Visitor

Table.columns.queryName property not updated after changing the aggregate function

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 )":

Exploring Custom Visual DataViewExploring Custom Visual DataView

Steps to reproduce this issue

1. Create the following table:

Adding data to a new tableAdding data to a new table

2. Create a custom visual with the following capability:

  • Data Roles:

 

"dataRoles": [
        {
            "name": "columns",
            "kind": "GroupingOrMeasure",
            "displayName": "Columns"
        }
    ]

 

  • Data View Mapping:

 

"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.

0 REPLIES 0

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors