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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Sumproduct formula in power bi

I have a lookup table (Daily Target) for four employees (AA, BB, CC, DD). 

 

Could you please help me to assign the target to Table 2 in the column 'Target'? Thanks a lot.

 

Daily Target

Target lookup.png

Table 2

Summary.png

 

 

1 ACCEPTED SOLUTION
FrankAT
Community Champion
Community Champion

Hi,

  1. Open Power Query Editor.
  2. Select columns AA ... DD.
  3. Tab Transform > Unpivot Columns.

 

Regards FrankAT

View solution in original post

5 REPLIES 5
amitchandak
Super User
Super User

@Anonymous ,

The Solution already provided above. You can refer to steps here. In the new office ribbon, it is known as data transformation.

 

https://radacad.com/pivot-and-unpivot-with-power-bi

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
FrankAT
Community Champion
Community Champion

Hi,

  1. Open Power Query Editor.
  2. Select columns AA ... DD.
  3. Tab Transform > Unpivot Columns.

 

Regards FrankAT

Anonymous
Not applicable

Thank you. Your answer is very useful

 

I agree with @FrankAT. You might also want to create a column in each table that concatenates values in your employee id and date columns.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

I also create a new column to combine the Name & Date as key to lookup target.

 

Thanks for your help.

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.