Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
razieh12
Frequent Visitor

show measures in row

Hello

I have a question and appreciate if someone provide me with the solution.

My  data is 2 tables: Speed Table and Productivity Table.

Speed Table:

 

City

Column1

Column2

Column3

A

1

6

1

B

4

9

4

C

0

9

3

D

1

5

9

A

8

7

0

B

9

1

6

C

0

7

4

D

1

8

3

 

Productivity Table:

City

Fac1

Fac2

A

1

6

B

4

9

C

0

9

D

1

5

A

8

7

B

9

1

C

0

7

D

1

8

 

 

And I want to create this matrix from these tables

razieh12_0-1695913435016.png

 

 

by grouping by the data of speed table and productivity tables and pivoting them and appending these two table I can create the below matrix:

razieh12_0-1695915520461.png

 


My main challenge is the Fac1/Fac2. I dont know how to add this measure in the maxtrix. I appreciate it if some one can help me. Fac1/Fac2 means divide( Fac1,Fac2).

the values in matrix is the calculate (sum( column1)), calculate (sum( column2)),calculate (sum( column3)),calculate (sum( fac1)),calculate (sum( fac2)), divide( Fac1,Fac2)

5 REPLIES 5
tamerj1
Super User
Super User

@razieh12 

DIVIDE ( SUM ( 'Table'[fac1] ), SUM ( 'Table'[Fac2] ) )

I want to add this measure in the row . this is the my problem not the calculation 

@razieh12 

Little confused. You said it is a matrix right? What did you place in the rows, columnd values?

tamerj1
Super User
Super User

@razieh12 

You did not explain how did you get to this matrix at the first place. 

I revised the post . 

by grouping by the data of speed table and productivity tables and pivoting them and appending these two table I can create the below matrix:

razieh12_0-1695915611074.png

 

 


My main challenge is the Fac1/Fac2. I dont know how to add this measure in the maxtrix. I appreciate it if some one can help me. Fac1/Fac2 means divide( Fac1,Fac2).

the values in matrix is the calculate (sum( column1)), calculate (sum( column2)),calculate (sum( column3)),calculate (sum( fac1)),calculate (sum( fac2)), divide( Fac1,Fac2)

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.