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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
dwhittaker1
Helper II
Helper II

placing a measure in the first row of a matrix

Is there a way to emulate the table below in power bi? the sales target and Sales actual rows in the item column are from my data set.The difference and attainment rows would be a calculation.

 

dwhittaker1_0-1742542755778.png

 

 

Below is what my data set looks like

 

SourceDate Sales
ACTUALS########21133688
ACTUALS########21092167
TARGET########21666046
TARGET########24084542

 

 

 

1 ACCEPTED SOLUTION
Uzi2019
Super User
Super User

Hi @dwhittaker1 

 

You can simply achived this by creating seperate measure for Actual, target, diff, % etc.

 

Try this. I have taken you dataset. and created multiple measures

 

Actual = CALCULATE(SUM(Sales[ Sales]),Sales[Source]="ACTUALS")
 
target = CALCULATE(SUM(Sales[ Sales]),Sales[Source]="TARGET")
 
Diff= target- Actual
 
then take you value in Matrix. it will look like this.
 
Uzi2019_0-1742544291081.png

 

then change the value setting 

Uzi2019_1-1742544363520.png

 

You can create similar pattern of Matrix you mentioned above but trick is each matrics has to be seperate measure. 

 

I hope I answered your question!

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

View solution in original post

1 REPLY 1
Uzi2019
Super User
Super User

Hi @dwhittaker1 

 

You can simply achived this by creating seperate measure for Actual, target, diff, % etc.

 

Try this. I have taken you dataset. and created multiple measures

 

Actual = CALCULATE(SUM(Sales[ Sales]),Sales[Source]="ACTUALS")
 
target = CALCULATE(SUM(Sales[ Sales]),Sales[Source]="TARGET")
 
Diff= target- Actual
 
then take you value in Matrix. it will look like this.
 
Uzi2019_0-1742544291081.png

 

then change the value setting 

Uzi2019_1-1742544363520.png

 

You can create similar pattern of Matrix you mentioned above but trick is each matrics has to be seperate measure. 

 

I hope I answered your question!

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors