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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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