Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello,
I have a column with the name of a company the number of transaction and the percentage :
I would like to calculate the sum of the transaction for a company + the same number * the percentage. Here is what I have but it doesn't work :
Solved! Go to Solution.
measure =
var total = sum(transactions)
var abandoned = sumx(transactions * abandoned%)
return
total + abandoned
.....something like that? (you'll still have to add the filter conditions etc)
Thank you I will try that
The thing is that the total of transactions per company is good but I don't know what code to write to tell that I want to multiply it by the column abandonment that correspond to the right company
measure =
var total = sum(transactions)
var abandoned = sumx(transactions * abandoned%)
return
total + abandoned
.....something like that? (you'll still have to add the filter conditions etc)
Typically when you see totals not adding up correctly like this and they involve multiplying columns and percentages and row level calculations etc, you need to experiment with SUMMARIZE and/or SUMX
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
78 | |
76 | |
59 | |
35 | |
33 |
User | Count |
---|---|
100 | |
62 | |
56 | |
47 | |
41 |