Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
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
How can I get the dont summarize option?
br
Solved! Go to Solution.
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:
(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
Proud to be a Super User!
My course: Introduction to Developing Power BI Visuals
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
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:
(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
Proud to be a Super User!
My course: Introduction to Developing Power BI Visuals
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
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
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
Hi Xiaoxin,
thank you for the explanation. I was able to get all the data as measures using table row.
br
User | Count |
---|---|
18 | |
11 | |
5 | |
4 | |
3 |