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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Summarize, don't summarize problem with measures

Hi,

 

I have a visual with input of two measures.

 

dataroles:    

{
      "displayName": "X-Axis",
      "name": "X",
      "kind": "Measure",
    },
    {
      "displayName": "Y-Axis",
      "name": "Y",
      "kind": "Measure"
    }

...

  "dataViewMappings": [
    {
      "categorical": {
        "values": {
          "select": [
            {
              "bind": {
                "to": "X"
              }
            },
            {
              "bind": {
                "to": "Y"
              }
            }
]
}
}

 

power bi always summarizes them and don't summarize is missing

 

GuFa_0-1633421181015.pngGuFa_1-1633421245356.png

How can I get the dont summarize option?

 

br

1 ACCEPTED SOLUTION
dm-p
Super User
Super User

Hi @Anonymous,

Explicit measures cannot be used for grouping (creating row context), as without any kind of grouping, they will always result in a single, grouped (scalar) value.

For this situation, you can set the data role to:

  • Grouping, in order to allow columns, or
  • GroupingOrMeasure, which will allow you to add implicit measures from your data model (which are really columns) and specify that Power BI not summarise them as you are expecting.

(ref)

If you need to use measures in these roles, you will need to add another data role to specifically create row context so that they do not summarise at such a high level.

Regards,

Daniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




View solution in original post

4 REPLIES 4
dm-p
Super User
Super User

Hi @Anonymous,

Explicit measures cannot be used for grouping (creating row context), as without any kind of grouping, they will always result in a single, grouped (scalar) value.

For this situation, you can set the data role to:

  • Grouping, in order to allow columns, or
  • GroupingOrMeasure, which will allow you to add implicit measures from your data model (which are really columns) and specify that Power BI not summarise them as you are expecting.

(ref)

If you need to use measures in these roles, you will need to add another data role to specifically create row context so that they do not summarise at such a high level.

Regards,

Daniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




Anonymous
Not applicable

Hi Daniel,

 

thank you for the explanation and the hint with table row. I was able to get all the data as measures using table row.

 

br

Anonymous
Not applicable

HI @Anonymous,

I don't think you can't directly ignore the summarized features on the value field, they are designed to analyze and aggregate values based on other axis and categories fields. 

In addition, power bi not able to use measure expression as category/axis, they are calculated based on aggregate row contents, you cant use them as categories to expand the calculation on other records.
Regards,

Xiaoxin Sheng

Anonymous
Not applicable

Hi Xiaoxin,

 

thank you for the explanation. I was able to get all the data as measures using table row.

 

br

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.