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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I need to create a formula that summarize numbers in table based on column text i decide.
This is my table
I want it to do this:
accountNumber = 5520 summarize "amountInBaseCurrency"
This should take all 5520 cells in "accountNumber" and summarize the value in "amountInBaseCurrency"
Any idea how i can do that?
The output would be sum of all values in "amountInBaseCurrency", but only those that have 5520 in "accountNumber"
All help is appreciated.
Thanks
I just did some more testing, and it seems like it works if i set "accountNumber" to format as TEXT - but that does not look logically correct to me, as account number is a "number"?
Is there a way i can format it in the function, without having to format the whole table?
It is very strange i think. As the formula looks correct to me.
I set them both to whole numbers as the formatting
Hmm. There's an error.
@Anonymous I hope it will work with "account number in normal slicer" and "account balance" in card visual.
Hi, let's see if this works:
Calculate(sum('Table'[amountInBaseCurrency]),FILTER('Table', 'Table'[accountNumber] = "5520"))
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 66 | |
| 47 | |
| 43 | |
| 26 | |
| 19 |
| User | Count |
|---|---|
| 196 | |
| 127 | |
| 102 | |
| 67 | |
| 49 |