Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe'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
Hello Community,
Can someone please explain me in a layman terms what is happening here.
i am trying to total all the values in a table product code so i wrote measure = sum(spend) and pulled this into a card for which i get correct value. but when i write summarizecolumns or summarize
however when i write summarize/summarizecolumns i am not understanding what is happening here and how is PBI calculating 63K value
Please help i am confused.
The way you write summarizecolumns is a bit different, but once again you have to put an aggregation there and summarizecolumns versus summarize are more efficient from the querying dataset perspective. You don't have to specify table here.
Can you try SUMMARIZE(Sheet1,Sheet1[productcode],"Spend", Sum(Sheet1[spend]))
Always try to create a small dataset to be able to understand whats going on.
My table has Product 1 with the price 5 and 2 and then product 2 -3 lines 10, 10, 50
Look at these tables, because Product 1 had 2 distinct values it calculates correctly, but product 2 had twice value 10 and in summarize it makes the sum of the distinct values and says 60, distinct 10 plus 50.
So thats why you have to create summarize the way i showed to you in the formula so you sum up all values for product 2.
Thnakyou for this explanation. It really helped .. didnot find this level of explanation anywhere on internet. will this also work on Summarizecolumns . what does summarizecolumns do?
i am not able to attach any excel files to the share with the community 😞
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 |
|---|---|
| 51 | |
| 37 | |
| 35 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 72 | |
| 70 | |
| 39 | |
| 34 | |
| 23 |