Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello,
I have a problem and wanted to ask if one of you could possibly help me. So I'm trying to calculate a percentage value. The problem is that the values must be filtered by year and must also be summed. If you look at the picture you see the column "Sum", this should be summed up but the year should be considered in the column "Year". In this way, the sum of the rows that contain the same year and are in the column "True to date" should be divided by the total per year.
With kind regards
Steallight
Solved! Go to Solution.
Total Sum by year = CALCULATE(SUMX('Table','Table'[Summe]),ALLEXCEPT('Table','Table'[Jahr]))
OR
Total Sum by year = SUMX(CALCULATETABLE('Table',ALLEXCEPT('Table','Table'[Jahr])),'Table'[Summe])
Percentage = DIVIDE('Table'[Summe],'Table'[Total Sum by year])
Total Sum by year = CALCULATE(SUMX('Table','Table'[Summe]),ALLEXCEPT('Table','Table'[Jahr]))
OR
Total Sum by year = SUMX(CALCULATETABLE('Table',ALLEXCEPT('Table','Table'[Jahr])),'Table'[Summe])
Percentage = DIVIDE('Table'[Summe],'Table'[Total Sum by year])
is it even possible with Power BI?
User | Count |
---|---|
14 | |
11 | |
6 | |
6 | |
5 |
User | Count |
---|---|
29 | |
17 | |
11 | |
7 | |
5 |