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 table like this:
dim1 dim2 value1
b1 A 4
b1 B 20
b2 A 5
b2 B 30
b3 A 2
b3 B 6
b4 A 1
b4 B 40
b5 A 20
b5 B 200
and a measure like this: measure:=sum(value1).
How can I make in Power BI table like this:
where values in column C = A/B in percents.
How can I make this in Power BI, when I have only one measure for each row and I need to mix two rows (A and B)? Thanks in advance!
Solved! Go to Solution.
@olijo Please create below measure to get the desired result
A = CALCULATE(SUM('Table'[value]),'Table'[dim2]="A")
B = CALCULATE(SUM('Table'[value]),'Table'[dim2]="B")
C = DIVIDE([A],[B],0)
@olijo Please create below measure to get the desired result
A = CALCULATE(SUM('Table'[value]),'Table'[dim2]="A")
B = CALCULATE(SUM('Table'[value]),'Table'[dim2]="B")
C = DIVIDE([A],[B],0)
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 |
---|---|
11 | |
10 | |
10 | |
9 | |
8 |
User | Count |
---|---|
17 | |
13 | |
12 | |
11 | |
8 |