We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi,
Trying to create a new measure, TotalCount_Sum=39+2= 41.
Me a DAX dummy, can advise what is wrong with below DAX?
TotalCount_Sum = SUMMARIZE(data2 ,Data2[3Station] ,Data2[TotalCount],sum(Data2[TotalCount]) )
Solved! Go to Solution.
Hi @vincentakatoh,
SUMMARIZE function will return a table as the result, it is impossible to store these result in calculated column or measure.
You need to summary these records and return the result.
For example:
TotalCount_Sum =
SUMX (
SUMMARIZE (
Data2,
Data2[3Station],
Data2[TotalCount],
"TotalCount", SUM ( Data2[FailCount] )
),
[TotalCount]
)
Reference:
Returns a summary table for the requested totals over a set of groups.
Notice: if your data contains any privacy data, please do mask sensitive data before sharing.
Regards,
Xiaoxin Sheng
Im having problems to sum abs error values.
As you can see 2928 is wrong the correct accumulated sum should be 23.968
Some might want one that features a detachable net blog post. Top rated Ping Pong Robot the first time you're mosting likely to do.
You need a name for your column as parameter 4, just enclose it in double quotes.
Can provide example, tried below but no success? Do I need to add as a Column or Measure?
TotalCount_Sum = SUMMARIZE(data2 ,Data2[3Station] ,Data2[TotalCount] ,"TotalCount", sum(Data2[FailCount]) )
I have this working for me:
Table = SUMMARIZE(Cars,Cars[Asset],Cars[Damage],"Sum",SUM(Cars[Column]))
Obviously different data set, but same thing.
Seems like what you have is correct, are you getting an error?
hi @Greg_Deckler,
Yes, Error msg "the expression refers to multiple columns. Multiple columns cannot be converted to a scalar value".
Also attached my sample file. If possible, appreciate if you can correct the dax and upload in link.
Hi @vincentakatoh,
SUMMARIZE function will return a table as the result, it is impossible to store these result in calculated column or measure.
You need to summary these records and return the result.
For example:
TotalCount_Sum =
SUMX (
SUMMARIZE (
Data2,
Data2[3Station],
Data2[TotalCount],
"TotalCount", SUM ( Data2[FailCount] )
),
[TotalCount]
)
Reference:
Returns a summary table for the requested totals over a set of groups.
Notice: if your data contains any privacy data, please do mask sensitive data before sharing.
Regards,
Xiaoxin Sheng
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 54 | |
| 39 | |
| 32 | |
| 17 | |
| 15 |
| User | Count |
|---|---|
| 64 | |
| 63 | |
| 37 | |
| 36 | |
| 22 |