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
EaglesTony
Post Prodigy
Post Prodigy

How do I get a 2nd table columns on single row

Hi,

 

  I have a table called "IssuesComponents" with 2 rows as follows (I calculate the Committed, Completed, Added, Removed based on the Item_Name value):

 

Item_Name   Key            Committed   Completed  Added  Removed

Committed   Data-123   Y                   N                 N          N

Completed   Data-123   N                  Y                  N          N

 

What I want is flatten this to a single row as follows:

 

Key            Committed   Completed  Added  Removed

Data-123   Y                   Y                 N          N

 

 

Not sure how to do this ?

 

2 REPLIES 2
EaglesTony
Post Prodigy
Post Prodigy

I don't understand your question. This data is coming from a file outside which cannot be combined, thus why Ineed to combine into 1 row.. The Committed, Completed,Added,Removed are Conditional Columns based off the value in Item_Name

bhanu_gautam
Super User
Super User

@EaglesTony , Can you please give us more details as on what basis data in committed and completed is "Y" in sample data shared from your end , what is the condition if any single row contains "Y" it will be "Y"?




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






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.