Forum Discussion

romovaro's avatar
romovaro
Responsive Resident
2 years ago
Solved

Add information in extra columns same row

Hello Pbix community

 

I have a question regarding the table below:

 

I have Principal Project number in the CUID column and the integration project number is the same as the CUID column but with

an extra "i".

 

 

NameCIDCUIDCountryProject ScopeActual/Schedule Go LiveProject Manager / Coordinator
Customer AAAANCPFFR01FranceStandard2020-01-01Dorottya Szabo
Customer AAAANCPFFR01iFranceIntegration WW2021-01-01Mary Mayers
Customer AAAANCPFFR02FranceStandard2021-01-01John Smith
Customer AAAANCPFFR03FranceStandard2021-01-01Akira Wars
Customer BASPNASPNMY01MalaysiaStandard2021-01-01Gerard Monte
Customer BASPNASPNMY01iMalaysiaIntegration WW Sandra Verdi
Customer BASPNASPNES01SpainStandard2021-01-01Mary Mayers
Customer BASPNASPNCN01ChinaStandard2020-07-31John Smith
Customer BASPNASPNCN01iChinaIntegration WF2020-07-01Akira Wars

 

I have created diff formulas to show "if integration or not", etc.. but I have been asked to create a new visual showing all the information but using ONLY one row.

 

THe idea would be to show only the Principal Project number and "If integration included" then show all the columns in different columns but same row. (excel image below)

 

 

Any tip welcome

 

thanks.

 

df

  • romovaro Probably need a disconnected table for your columns and a single measure that, based on the column returns the corresponding information. 

3 Replies

  • Greg_Deckler's avatar
    Greg_Deckler
    Community Champion

    romovaro Probably need a disconnected table for your columns and a single measure that, based on the column returns the corresponding information. 

    • romovaro's avatar
      romovaro
      Responsive Resident

      Hi Greg_Deckler 

       

      As discussed I created an extra table using the "summarize" function with the columns I wanted to "duplicate" to add in the main table

      In the extra table I created a column (called CUID-1) that allows me to get the info I need and I used "Lookupvalue" function to get the results:

       

      CUID Integration = LOOKUPVALUE(Tabla[CUID],Tabla[CUID-1],'PV Cel File'[CUID],"")

      CUID with Scope = LOOKUPVALUE(Tabla[Project Scope],Tabla[CUID-1],'PV Cel File'[CUID],"")
       

       What I realize is that is not working all the time. 

      From the image above, i have Australia and Austria. It seems with Australia I get all the info in my columns highligthed in blue but for Austria (same Information, Same Fields, etc...) is blank. For "Status Integration" it seems all fields are working ok. Any idea?

      THanks