Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
When relating two tables by the year ("Ano"), the numerical fields, like Sales Amount are not added by default.
Instead they are counted, as if they were text fields.
So, when changing this to Sum in the report, I get "Sum of Sales Amount" in the legend instead of just "Sales Amount".
I know this is a detail, but I'm intrigued to find out why this happens.
Also, I'd like to know how can I change the legend to "Sales Amount" instead of "Sum of Sales Amount" in the chart below.
Solved! Go to Solution.
I believe you are adding a column straing from your table to your visuals. Because when you do this you have many different options to how you want to display/calculate your number e.g as average, minimum, maximum ect. To avoid this you should calculate your values as measures and hide the origional colums from your table, so your users are not confured and use these instead of your real measures. You should consider the naming policy of you table column since you can't add a measure with a name already given to a column. So if you want a measure called 'Vendas e servicos prestados' you should rename the column in your table.
You could try this measure:
Vendas e servicos prestados = SUM('Financeiros'[Vendas e servicos pretados])
(sorry I don't have that special spanish (even more sorry if it's not spanish - I ment no offence) char)
I believe you are adding a column straing from your table to your visuals. Because when you do this you have many different options to how you want to display/calculate your number e.g as average, minimum, maximum ect. To avoid this you should calculate your values as measures and hide the origional colums from your table, so your users are not confured and use these instead of your real measures. You should consider the naming policy of you table column since you can't add a measure with a name already given to a column. So if you want a measure called 'Vendas e servicos prestados' you should rename the column in your table.
You could try this measure:
Vendas e servicos prestados = SUM('Financeiros'[Vendas e servicos pretados])
(sorry I don't have that special spanish (even more sorry if it's not spanish - I ment no offence) char)
Lol, it's Portuguese 🙂 it's a lot more beautiful, especially when it's sung.
Thanks for your help, I've also figured out that if I replace the year by a date, say 2007 by 31-12-2007, that column will act as a calendar and the agregation fields will be numeric by default.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
97 | |
84 | |
67 | |
60 |
User | Count |
---|---|
150 | |
120 | |
99 | |
87 | |
68 |